|
|||
|
1. Image Packaging System (IPS) For New Users 4. Using Keys and Certificates for Repositories Repositories That Require Keys and Certificates (Overview) |
Associating a Key and Certificate With a RepositoryAfter you have obtained your key and certificate, you can choose a repository as the default authority for pkg commands. How to Associate a Key and Certificate With a Repository
Example 4-1 How to Associate a Key and Certificate With the /release RepositoryIn this example, the /release repository is associated with the opensolaris.org preferred authority. $ pfexec pkg set-authority -k key_file -c cert_file opensolaris.org Example 4-2 How to Associate a Key and Certificate With the /support RepositoryIn this example, the repository's default location is switched to the /support repository. Then, the key and certificate are associated with the opensolaris.org preferred authority. $ pfexec pkg set-authority -O https://pkg.sun.com/opensolaris/support \ opensolaris.org $ pfexec pkg set-authority -k key_file -c cert_file opensolaris.org Example 4-3 How to Associate a Key and Certificate With the /extra RepositoryIn this example, a new repository is added, extra.opensolaris.org. Then, the key and certificate are associated with the opensolaris.org preferred authority. $ pfexec pkg set-authority -O https://pkg.sun.com/opensolaris/extra \ extra.opensolaris.org $ pfexec pkg set-authority -k key_file -c cert_file opensolaris.org Next Steps
|
||
|