If it’s the first time using the Support Repository, you need to configure the solaris
publisher with the new certificate and key found on the certificate page:
pkg set-publisher -g https://pkg.oracle.com/solaris/support/ -c pkg.oracle.com.certificate.pem -k pkg.oracle.com.key.pem solaris
To verify that the configuration has succeeded:
$ pkg publisher solaris
Publisher: solaris
Alias:
Origin URI: https://pkg.oracle.com/solaris/support/
Origin Status: Online
SSL Key: /var/pkg/ssl/key
SSL Cert: /var/pkg/ssl/cert
Cert. Effective Date: March 19, 2020 at 9:11:27 PM
Cert. Expiration Date: March 27, 2022 at 9:11:27 PM
Client UUID: uuid
Catalog Updated: March 11, 2020 at 5:41:19 PM
Enabled: Yes
To update expired certificate and key, simply run the command above omitting the -g
switch, as the repository is already configured on the system.