Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




OpenSolaris 2008.11 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 the various repositories. After you obtain keys and certificates, the site also provides a history of the keys and certificates that you have obtained.

How to Obtain Keys and Certificates

  1. Obtain your Sun ID and password for access to

    You obtain your Sun ID and password by registering at

  2. At the site, log in.

    The Certificate Requests page is displayed with two repositories: and

  3. 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.

  4. Save the key and certificate on your file system for safekeeping.
    1. Create the directory where you will place the key and certificate.
      $ pfexec mkdir path_to_dir

      path_to_dir specifies the name of the new directory and the location. In the following example, the new directory is /cred.

      $ pfexec mkdir /var/pkg/cred
    2. Save the key to the directory
      $ pfexec mv key_file path_to_dir

      Specifies the file that contains the key.


      Specifies the location of the key file.

      In this example, the key_file is the name of the file and the path to the file is /var/pkg/cred/sun_com_key.

      $ pfexec mv key_file /var/pkg/cred/sun_com_key
    3. Save the certificate to the directory.
      $ pfexec mv cert_file path_to_dir

      Specifies the file that contains the certificate.


      Specifies the location of the cert_file.

      In this example, cert_file is the name of the certification file and /sun_com_cert is the directory where the file is located.

      $ pfexec mv cert_file /var/pkg/cred/sun_com_cert
Next Steps

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

Previous Next

  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire