How to import a VeriSign Certificate into SUSE Enterprise Server 9 not running eDirectory
(Last modified: 01Feb2005)
This document (10096437) is provided subject to the disclaimer at the end of this document.
goal
How to import a VeriSign Certificate into SUSE Enterprise Server 9 not running eDirectory
fact
VeriSign Certificate
OpenSSL - mod_ssl
SUSE LINUX Enterprise Server 9
fix
These steps document how to import a production VeriSign external certificate into SLES 9 not running eDirectory to enable SSL on Apache services. If this server is running eDirectory please see How to import a Production VeriSign External Certificate into eDirectory 8.7.3 . These steps below are based on the mod_ssl implementation of Linux.
Overview:
1. First a keypair, public and private key, must be created as well as the CSR. Then the passphrase will be removed from the private key. The CSR (Certificate Signing Request) must be created with the appropriate key information. We will then send VeriSign this newly created CSR which they will sign and send back to us. It is actually our public key which they will append to. This will be our Signed Certificate.
2. Remove the passphrase from the private key and submit the CSR.
3. To complete the certificate, the signed certificate received from VeriSign must be saved into the public key.
4. Services need to be configured to use the new certificates.
Together these items create the certificate with the proper certificate chain and allow for services to use the certificate for SSL enabled communications.
Steps:
A. Creating the CSR and private key files.
1. Open a terminal window and create the directory that will contain the completed certificates.
We now have three files: privkey.pem (private key with passphrase), server.csr (our CSR file to be given to VeriSign) and server.key (private key with passphrase removed).
B. Submit the CSR
1. On Verisign's website navagate to where you are prompted to paste the CSR.
3. Paste the result into the CSR dialog. Since in this example we are installing the certificate for Apache we will select this as our application and web server as type of server. Then submit the information.
Once you have received your email from VeriSign containing the Signed Certificate you are ready to save this information into the public certificte file created during the CSR creation (Step A above). Simply save all lines of the returned signed certificate in the email ,including the begin and add sections and all dashes, to /etc/ssl/crt/public.crt. Once done copy the private key, server.key to /etc/ssl/crt/private.key. You may now delete privkey.pem and server.csr.
D
Which Apache conf file to modify and its location can depend on the version installed as well as what vendor installed it. Normally this file is httpd.conf.
In the example below Apache was installed via Novell's Open Enterprise Server.
In the Virtual Hosts section modify the following lines to reflect the name and path of the server's private and public (and intermediate if applicable) keys:
For the httpd.conf
In the Virtual Hosts section add the following lines:
D
Once the conf files have been modified Apache services need to be restarted: /etc/init.d/apache2 restart
document
| Document Title: | How to import a VeriSign Certificate into SUSE Enterprise Server 9 not running eDirectory |
| Document ID: | 10096437 |
| Solution ID: | NOVL100814 |
| Creation Date: | 31Jan2005 |
| Modified Date: | 01Feb2005 |
| Novell Product Class: | novell directory services |
disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.