Hi Rich,

I think the instructions on pkg.sun.com are just outdated. Try
"set-publisher" instead of "set-authority":

$ pfexec pkg set-publisher -k /var/pkg/ssl/OpenSolaris_extras.key.pem
-c /var/pkg/ssl/OpenSolaris_extras.certificate.pem -O
https://pkg.sun.com/opensolaris/extra/ extra

It works like this on my machine.

Erik

On Tue, 2009-10-06 at 07:42 -0700, Rich Burridge wrote:
> Hi,
> 
> I'm trying to setup and access the /extra IPS repository.
> I've obtained a certificate and setup my 
> /var/pkg/ssl/OpenSolaris_extras.key.pem
> and /var/pkg/ssl/OpenSolaris_extras.certificate.pem files.
> 
> When I try to set the extra authority with pkg I get:
> 
> $ pfexec pkg set-authority -k /var/pkg/ssl/OpenSolaris_extras.key.pem -c 
> /var/pkg/ssl/OpenSolaris_extras.certificate.pem -O 
> https://pkg.sun.com/opensolaris/extra/ extra
> pkg: The origin URIs for 'extra' do not appear to point to a valid pkg 
> server.
> Please check the server's address and client's network configuration.
> Additional details:
> 
> Unable to contact valid package server: 
> https://pkg.sun.com/opensolaris/extra/
> Encountered the following error(s):
> Transport errors encountered when trying to contact depot server.
> Reported the following errors:
> 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.sun.com/opensolaris/extra/versions/0/'.
> 
> Hints to where I'm going wrong would be appreciated.
> 
> Thanks.
> 
> 
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to