www.europe.redhat.com Home  |  Products  |  Shop  |  Services  |  Training  |  Support   
Red Hat Documentation

Getting a Test Certificate

Getting a Test Certificate

Both VeriSign and Thawte will issue you a temporary certificate which you can use to test your Red Hat Linux Apache/SSL Server to make sure it is working.

Another option, which we'll discuss first, is to create your own test certificate using OpenSSL.

Creating a Test Certificate On Your Own

To create your own test certificate, type in make testcert on the command line.

Your display will show the text similar to the following and wait for your password input. If you disabled the password option, it will not prompt you for a password.

/usr/sbin/openssl
Signature ok
Getting Private key
Enter PEM pass phrase:
	

OpenSSL will generate a test certificate and place it in a file named server.crt. You can use server.crt to test your secure server.

See the section called Installing and Testing Your Certificate to install this test certificate and test your Red Hat Linux Apache/SSL Server.

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 through the information on the Before You Start page. You'll probably want to take a look at 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 CSR. If you followed the instructions in the section called Generating a Certificate Request, you already have a CSR in your server.csr file. If not, create your key and CSR using those instructions now. Then click on Continue in the bottom right corner to continue.

  3. The next page, Submit CSR, is shown in Figure 3-1. On this page, you'll actually need to do something. Copy the contents of your server.csr file (including the BEGIN CERTIFICATE REQUEST line and the END CERTIFICATE REQUEST line) and paste them into the text box. After doing so, the page should look something like Figure 3-2.

    Figure 3-1. Submit CSR

    Figure 3-2. Paste in Your httpsd.csr

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

  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 to the bottom of the page, which will contain a form for you to fill out. You need to fill in the blanks with contact information for your Red Hat Linux Apache/SSL Server's administrator.

  7. After you have filled in the correct information for your Red Hat Linux Apache/SSL 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 to indicate that you accept the terms of the agreement and that you would like to be issued a test certificate.

    VeriSign should indicate that your application was received and processed and email you a test certificate. If you receive an error message instead, follow whatever instructions it provides, but first check your email. Even if you received an error message indicating that there was some problem with your application and that you'll need to email your application to them, the test certificate may have already been emailed to you.

  8. Save the test certificate, including the BEGIN CERTIFICATE line and the END CERTIFICATE line, in a file named server.crt in your /etc/httpd/conf/ssl.crt directory.

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 (figure 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 your server.csr file) into the Certificate Signing Request text box on Thawte's Web page.

  2. Select when you need the test certificate to be valid (this may only be relevant before 1/1/2025).

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

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

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

  6. The returned Web page will include your test certificate (an example is shown as Figure 3-5). Cut and paste the test certificate into a file named server.crt in your /etc/httpd/conf/ssl.crt directory.

    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 Apache/SSL Server.



Products & Services  |  Download  |  Support  |  Training  |  Partners & Programs
About Red Hat  |  Legal statement  |  Privacy statement  |  Y2K statement
redhat.com

© 2000 Red Hat, Inc. All right reserved.