Install SSL Certificate in Solaris

On Solaris, if you’re seeing when executing “curl -v https://itadminguide.com” command

curl: (60) SSL certificate problem: unable to get local issuer certificate

It usually means the system is missing a trusted CA bundle.

Step 1: Check if the CA certs exist in /etc/openssl/certs/ or /etc/certs/CA

Step 2: If root and intermediate certificates are missing, then copy both root and intermediate certificates to the certs folder

Note: You can use either .crt or .pem format — they are often the same PEM-encoded certificate, just with different file extensions.

What matters is the content, not the extension.

cp rootCA.crt /etc/certs/CA/
cp intermediateCA.crt /etc/certs/CA/

Step 3: Update the OpenSSL hash-based index:

$ c_rehash /etc/certs/CA/

Step 4: Verify using “curl -v https://itadminguide.com”