|
|||
4. Creating and Managing Images 7. Using Keys and Certificates for Repositories OpenSolaris 2009.06 Repositories Associating a Key and Certificate With a Repository |
Obtaining Keys and CertificatesAt the https://pkg.sun.com site, you can obtain the keys and certificates needed to access packages at pkg.sun.com/opensolaris/support and the pkg.sun.com/opensolaris/extra repositories. How to Obtain Keys and CertificatesBefore You BeginA Sun ID and password is required to log in to the pkg.sun.com web site. Register at https://pkg.sun.com and obtain your Sun ID and password, if you do not already them. The pkg.sun.com/opensolaris/support and the pkg.sun.com/opensolaris/extra repositories are displayed after you have logged in.
Example 7-1 How to Save a Key and Certificate on to Your SystemIn this example the key and certificate files are downloaded to ~/Desktop/ . The files are then saved to a directory /var/pkg/ssl. $ pfexec mkdir -p /var/pkg/ssl $ pfexec chmod 755 /var/pkg/ssl $ pfexec cp -i ~/Desktop/OpenSolaris_extras.key.pem /var/pkg/ssl/ $ pfexec cp -i ~/Desktop/OpenSolaris_extras.certificate.pem /var/pkg/ssl/ Next StepsYou now can associate your key and certificate with a repository. |
||
|