Documentation » Repositories
en

Repositories

Extras Repository

The extras repository can be viewed from a web browser once you import the certificate you obtained from https://pkg.sun.com/.

These instructions can also be applied to any other repositories that you obtain certificates for from https://pkg.sun.com/.

Converting the Certificate

To import the certificate, you will first need to convert it from its original format (PEM-encoded) to a format the browser understands (PKCS12).

You can convert the certificate you received from https://pkg.sun.com/ by performing the following steps:

    $ openssl pkcs12 -export -in extras.certificate -inkey extras.key -out extras.p12

It will prompt you (twice) for a password to protect the new certificate.  If you don't want to protect it with a password (not recommended), just press enter when prompted for a password.

Importing the Certificate into FireFox

Now you can import the certificate into your web browser.  If you use FireFox, this is how you import it:

  1. Go to Edit -> Preferences -> Advanced -> Encryption
  2. Click "View Certificates"
  3. Click "Your Certificates"
  4. Click "Import"
  5. Find and open the extras.p12 file you created earlier
  6. Enter the password for the certificate (just click ok if it doesn't have one)
  7. Click "OK" to close the Certificate Manager
  8. Click "Close" to close the preferences dialog

Now you can access https://pkg.sun.com/opensolaris/extra/  (please note the slash at the end!).

If you use FireFox, you'll notice that it will ask you every time you visit the site which certificate you want to access the website.  If you don't like that:

  1. Go to Edit -> Preferences -> Advanced -> Encryption
  2. Under "When a server requests my personal certificate" click "Select one automatically".
  3. Click "Close" to close the Certificate Manager

It should only prompt you once more (at most) after doing this.

Tags:
Created by admin on 2009/10/26 12:16
Last modified by admin on 2009/10/26 12:16

XWiki Enterprise 2.7.1.34853 - Documentation