Add Certificate to JAVA keystore (cacerts)

Requirements: Have keytool installed (Installed as a part of the jre) Have your certificate local (either pem or der format) Know where your keystore is

 

scp: ambiguous target

I was attempting to secure copy a file over a remote server and I encountered the following error: $ scp file.txt user@ip_address:”/file path/” scp: ambiguous target So after some trial and error I discovered the problem was the space ” ” in the path to which I was attempting to copy the file to. I […]