I'm trying to copy a new CACerts file over after I've installed Java. I added both a PostScript powershell and the path to the CACerts file in Additional files.
I can see in the logs that the script that I've specified is running, but I can't get it to find the CACerts file in the additional files. Is there a variable I need to be using?
I currently have this.
Copy-Item -Path "$PSScriptRoot\cacerts" -Destination "C:\Program Files (x86)\Java\jre1.8.0_361\lib\security\cacerts" -Force
I can see in the logs that the script that I've specified is running, but I can't get it to find the CACerts file in the additional files. Is there a variable I need to be using?
I currently have this.
Copy-Item -Path "$PSScriptRoot\cacerts" -Destination "C:\Program Files (x86)\Java\jre1.8.0_361\lib\security\cacerts" -Force