Download   Online Shop   Red Hat Network
Home  |  Products & Services  |  Support  |  Training  |  Partners  |  Documentation   
Red Hat Documentation

Getting a Test Certificate

Getting a Test Certificate

You can generate your own test certificate or get a test certificate from a CA. The test certificate should be used to test your Red Hat Linux Secure Server to make sure it is operating correctly.

Creating Your Own Test Certificate

To create your own test certificate, type in the following single command (all on one line):

/usr/bin/openssl req -in /etc/httpd/conf/server.csr -key
/etc/httpd/conf/server.key -x509 -out /etc/httpd/conf/server.crt

OpenSSL will generate a test certificate and place it into /etc/httpd/conf/server.crt. See the section called Installing and Testing Your Certificate for instructions on how to install your test certificate.

Obtaining a Test Certificate from VeriSign

To request a test certificate from VeriSign, point your Web browser to https://digitalid.verisign.com/server/trial/trialIntro.htm. Follow these instructions:

  1. Read the information on the Before You Start page and the VeriSign Trial Subscriber Agreement. Click on Continue when you're finished.

  2. The next page, Generate CSR, shows you instructions on how to generate a certificate request (CSR). If you followed the instructions in the section called Generating a Certificate Request, you already have a CSR in /etc/httpd/conf/server.csr file. If not, create your key and CSR using the instructions in that section now. Then click on Continue in the bottom right corner.

  3. The next page, Submit CSR, is shown in Figure 3-1.

    Figure 3-1. Submit CSR

    Copy the contents of /etc/httpd/conf/server.csr file and paste it into the text box on the Submit CSR page. Be sure to include the BEGIN CERTIFICATE REQUEST and END CERTIFICATE REQUEST lines, but don't add any extra space before or after the leading and ending hyphens. Extra white spaces can cause problems, so be careful when you copy the file to get just the characters, from the beginning hyphens to the ending hyphens, with no extra empty spaces. After doing so, the page should look like Figure 3-2.

    Figure 3-2. Paste in Your server.csr

  4. Click on Continue at the bottom right of the Submit CSR page.

  5. The next page, Complete Application, is shown in Figure 3-3. The top of this page will be automatically filled in with the information you provided when you created your certificate request.

    Figure 3-3. Application for Test Certificate from VeriSign

  6. Scroll down the page, which contains a form for you to fill out. Under Enter Technical Contact Information, fill in the fields with contact information for your Red Hat Linux Secure Server's administrator or webmaster.

  7. After you have filled in the technical contact information for your Red Hat Linux Secure Server's administrator or webmaster, you should read the server agreement provided at the bottom of the page. Then click on Accept at the bottom of the page if you accept the terms of the agreement and to indicate that you would like to be issued a test certificate.

    VeriSign should indicate that your application was received and processed, and will e-mail you a test certificate. If you receive an error message instead, follow the instructions it provides, but first check your e-mail. In some cases, despite an error message indicating that there was some problem with your application, the test certificate may have already been e-mailed to you.

  8. Save the test certificate, including the entire BEGIN CERTIFICATE and END CERTIFICATE lines, in /etc/httpd/conf/server.crt. Make sure that you don't add any leading or trailing white spaces before or after the hyphens that start and end the certificate.

See the section called Installing and Testing Your Certificate for instructions on how to install your test certificate.

Obtaining a Test Certificate from Thawte

To request a test certificate from Thawte, point your Web browser to https://www.thawte.com/cgi/server/test.exe (see Figure 3-4) and follow the instructions provided next.

Figure 3-4. Thawte's Test Certificate Page

  1. Cut and paste your certificate request (the contents of /etc/httpd/conf/server.csr) into the Certificate Signing Request text box on Thawte's Web page.

  2. Set the amount of time for which the test certificate should be valid. Note that at the time this manual was written, a Thawte test certificate could be set for up to 365 days of validity.

  3. Select when you need the test certificate to be valid.

  4. Select Test X509v3 SSL Cert as the Type of Test Certificate.

  5. Select Use the default for your kind of cert under Certificate Format.

  6. Click the Generate Test Certificate button at the bottom of the page.

  7. The returned Web page will include your test certificate (see Figure 3-5). Cut and paste the test certificate, including the BEGIN CERTIFICATE and END CERTIFICATE lines, into /etc/httpd/conf/server.crt.

    Figure 3-5. Thawte's Test Certificate Page

See the section called Installing and Testing Your Certificate for instructions on how to install the test certificate and test your Red Hat Linux Secure Server.

 

 
 
Search for:  on    Powered by Google
Products & Services   :   Download   :   Support   :   Training   :   Partners & Programs
© 2001 Red Hat, Inc. All right reserved.       About Red Hat   :   Legal statement   :   Privacy statement   :   Y2K statement   :   Contact Red Hat