Use this procedure if you receive a message such as the following when you perform pkg commands:
Certificate '/var/pkg/ssl/certfile' for publisher 'solaris', needed to access 'https://pkg.oracle.com/solaris/support/', will expire in '7' days.
In your browser, navigate to https://pkg-register.oracle.com/register/certificate/.
Because the support repository is already configured with the old key and certificate, you do not need to specify the origin to update the key and certificate.
$ pkg set-publisher -c ~/Downloads/pkg.oracle.com.certificate.pem \ > -k ~/Downloads/pkg.oracle.com.key.pem solaris
The pkg publisher solaris command shows the updated “Cert. Effective Date” and “Cert. Expiration Date.”