Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Unable to add certificate for solaris 11

1039498Sep 10 2013 — edited Sep 16 2013


If I tried to update the usual way:

donald@frodo:~$ pfexec pkg update

No updates available for this image.


The listed publisher is:


donald@frodo:~$ pfexec pkg publisher

PUBLISHER                   TYPE     STATUS P LOCATION

solaris                     origin   online F http://pkg.oracle.com/solaris/release/

I downloaded the SSl cert & key and copied them to /var/pkg/ssl

donald@frodo:~$ pfexec pkg unset-publisher solaris

donald@frodo:~$ pfexec pkg publisher

PUBLISHER                   TYPE     STATUS P LOCATION

donald@frodo:~$ sudo pkg set-publisher -k /var/pkg/ssl/Oracle_Solaris_11_Support.key.pem -c /var/pkg/ssl/Oracle_Solaris_11_Support.certificate.pem -G '*' -g https://pkg.oracle.com/solaris/support/ solaris

Password:

pkg set-publisher: The origin URIs for 'solaris' do not appear to point to a valid pkg repository.

Please verify the repository's location and the client's network configuration.

Additional details:

Unable to contact valid package repository

Encountered the following error(s):

Unable to contact any configured publishers.

This is likely a network configuration problem.

Framework error: code: 60 reason: SSL certificate problem, verify that the CA cert is OK. Details:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

URL: 'https://pkg.oracle.com/solaris/support'

So I reverted:

donald@frodo:~$ sudo pkg set-publisher -g http://pkg.oracle.com/solaris/release/ solaris

donald@frodo:~$ sudo pkg update -v

No updates available for this image.

donald@frodo:~$ sudo pkg publisher

PUBLISHER                   TYPE     STATUS P LOCATION

solaris                     origin   online F http://pkg.oracle.com/solaris/release/

Any ideas?

Comments

Rmanus-Oracle

Access to the support repository is not free. You need a valid support contract in order to have access to it.

This is one of the benefits of

Oracle Premier Support for Systems

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 14 2013
Added on Sep 10 2013
8 comments
2,086 views