OpenSolaris 2009.06 Image Packaging System Guide
Previous Next

Obtaining Keys and Certificates

At the site, you can obtain the keys and certificates needed to access packages at and the repositories.

How to Obtain Keys and Certificates

Before You Begin

A Sun ID and password is required to log in to the web site. Register at and obtain your Sun ID and password, if you do not already them.

The and the repositories are displayed after you have logged in.

  1. At the site, log in with your Sun ID and password.

    The Certificate Requests page is displayed with two repositories: and

  2. Choose the repository that contains the packages you need.

    For the /support repository, you must have a support contract. You will be asked to type your contract ID.

  3. The key and certificate are generated for you. Save the key and certificate on your file system to a persistent location. The key and certificate files have the extension .pem.

    Note - Remember the name and location of the key file and the certificate as you will need them to access certain repositories.

Example 7-1 How to Save a Key and Certificate on to Your System

In 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 Steps

You now can associate your key and certificate with a repository.

Previous Next