|
|||
4. Creating and Managing Images 7. Using Keys and Certificates for Repositories OpenSolaris 2009.06 Repositories Obtaining Keys and Certificates |
Associating a Key and Certificate With a RepositoryThis section provides information on how to associate a key and certificate with a repository. For the OpenSolaris 2009.06 release, the following repositories require a key and certificate for access:
How to Associate a Key and Certificate With the pkg.sun.com/opensolaris/support RepositoryBefore You BeginEnsure you have downloaded the key and certificate on to your system. See Obtaining Keys and Certificates for instructions.
Example 7-2 Associate a Key, Certificate, and Publisher With pkg.sun.com/opensolaris/supportIn this example, the key and certificate files are located in the /var/pkg/ssl/ directory. The repository is associated with the existing preferred publisher, opensolaris.org. $ pfexec pkg set-publisher -P -O pkg.sun.com/opensolaris/support\ -k /var/pkg/ssl/OpenSolaris_extras.key.pem -c /var/pkg/ssl/OpenSolaris_extras.certificate.pem opensolaris.org Next Steps
How to Associate a Key and Certificate With the pkg.sun.com/opensolaris/extra RepositoryBefore You BeginEnsure you have downloaded the key and certificate on to your system. See Obtaining Keys and Certificates for instructions.
Example 7-3 Associate a Key, Certificate, and Publisher With pkg.sun.com/opensolaris/extraIn this example, the key and certificate files are located in the /var/pkg/ssl/ directory. The repository is associated with the new publisher, extra. $ pfexec pkg set-publisher -O https://pkg.sun.com/opensolaris/extra \ -k /var/pkg/ssl/OpenSolaris_extras.key.pem -c /var/pkg/ssl/OpenSolaris_extras.certificate.pem extra Next Steps
|
||
|