A trusted certificate can be added to the package keystore using the pkgadm command. The certificate can be in PEM or DER format. For example:
$ pkgadm addcert -t /tmp/mytrustedcert.pem |
In this example, the PEM format certificate called mytrustedcert.pem is added to the package keystore.