Catalyst Servers at September 2005. dia diagram file attached for future editing.
Cat@lystCommunity Access Techknowledgy |
|
ServicesServer Locations Sep 2005Submitted by sonia on Wed, 2006-04-12 22:20. Services» login to post comments | 4829 reads | 1 attachment Setting up Your Own Certificate AuthoritySubmitted by tongmaster on Wed, 2006-04-12 12:10. Linux | OpenSSL | Services | Virtual Private NetworksThis document details how to setup an OpenSSL Certificate Authority that you can then use to create certificates for internal use, such as IPSec x.509 Virtual Private Networks (VPNs). The steps below are specific for Debian or Ubuntu servers but may be adapted for other Linux distributions. Firstly we need to edit openssl.cnf and change a few defaults: $ vi /etc/ssl/openssl.cnf Change default_days from 365 to 3650 for 10 years of certificate life. default_days = 3650 # how long to certify for For internal use, this longevity does not present a great security risk and certificates can be revoked at any time. For convenience I like to set a number of fields below the [ req_distinguished_name ] section. The examples below are for a fictional company in Sydney, Australia, change or add these lines as required: countryName_default = AU Filling the above in will save a little typing time when generating certificates. Now you need to make a directory for your Certificate Authority and change into it. My preference is to create it under /etc/ssl as follows: $ sudo mkdir /etc/ssl/YourCompanyCA At this point I would recommend copying the script /usr/lib/ssl/misc/CA.sh to /etc/ssl/CA.sh and modifying it to create a CA certificate that lasts more than 10 years - 20 years is a nice figure. You will also need to replace demoCA with the directory you created above. I make the following changes: /etc/ssl/YourCompanyCA $ sudo cp /usr/lib/ssl/misc/CA.sh /etc/ssl/CA.sh Now we need to create the CA Certificate. Apart from setting the certificate password, you can take the defaults because you set them earlier: /etc/ssl/YourCompanyCA $ sudo /etc/ssl/CA.sh -newca Now we will need to create a CRL file which will be needed on any VPN gateways you might have. This will need to be updated any time a certificate is revoked: /etc/ssl/YourCompanyCA $ openssl ca -gencrl -out crl.pem Now you have a your very own functioning Certificate Authority and you're ready to generate certificates for what ever purpose you may have. » login to post comments | 3744 reads |
main menuabout cat SearchNavigationPopular contentToday's:All time:
|