<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://pabut.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Creating_SSL_Certificates</id>
	<title>Creating SSL Certificates - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://pabut.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Creating_SSL_Certificates"/>
	<link rel="alternate" type="text/html" href="http://pabut.org/wiki/index.php?title=Creating_SSL_Certificates&amp;action=history"/>
	<updated>2026-04-17T11:04:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>http://pabut.org/wiki/index.php?title=Creating_SSL_Certificates&amp;diff=10&amp;oldid=prev</id>
		<title>Pabut: Created page with &quot;== Steps to create a CA cert and a server key and cert ==  *set up CA directory structure: :mkdir /root/CA :chmod 0770 CA :cd CA  *Create the CA key :openssl genrsa -des3 -out...&quot;</title>
		<link rel="alternate" type="text/html" href="http://pabut.org/wiki/index.php?title=Creating_SSL_Certificates&amp;diff=10&amp;oldid=prev"/>
		<updated>2015-01-14T15:42:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Steps to create a CA cert and a server key and cert ==  *set up CA directory structure: :mkdir /root/CA :chmod 0770 CA :cd CA  *Create the CA key :openssl genrsa -des3 -out...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Steps to create a CA cert and a server key and cert ==&lt;br /&gt;
&lt;br /&gt;
*set up CA directory structure:&lt;br /&gt;
:mkdir /root/CA&lt;br /&gt;
:chmod 0770 CA&lt;br /&gt;
:cd CA&lt;br /&gt;
&lt;br /&gt;
*Create the CA key&lt;br /&gt;
:openssl genrsa -des3 -out my-ca.key 2048&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Create the CA cert&lt;br /&gt;
:openssl req -new -x509 -days 3650 -key my-ca.key -out my-ca.crt&lt;br /&gt;
&lt;br /&gt;
*Examine the CA cert&lt;br /&gt;
:openssl x509 -in my-ca.crt -text -noout&lt;br /&gt;
&lt;br /&gt;
*Create the server key&lt;br /&gt;
:openssl genrsa -des3 -out pabut-server.key 1024&lt;br /&gt;
&lt;br /&gt;
*Create the certificate request&lt;br /&gt;
:openssl req -new -key pabut-server.key -out pabut-server.csr&lt;br /&gt;
&lt;br /&gt;
*sign the cert request with the CA cert yielding a server cert&lt;br /&gt;
:openssl x509 -req -in pabut-server.csr -out pabut-server.crt -sha1 -CA my-ca.crt -CAkey my-ca.key -CAcreateserial -days 3650&lt;br /&gt;
&lt;br /&gt;
*examine the server cert&lt;br /&gt;
:openssl x509 -in pabut-server.crt -text -noout&lt;br /&gt;
&lt;br /&gt;
== Creating a client key ==&lt;br /&gt;
&lt;br /&gt;
*create a private key&lt;br /&gt;
:openssl genrsa -des3 -out bangzoom.key&lt;br /&gt;
&lt;br /&gt;
*create a certificate request&lt;br /&gt;
:openssl req -new -key bangzoom.key -out bangzoom.csr&lt;br /&gt;
&lt;br /&gt;
*Certify the request with the CA key&lt;br /&gt;
:openssl x509 -req -in bangzoom.csr -out bangzoom.crt -sha1 -CA my-ca.crt -CAkey my-ca.key -CAcreateserial -days 3650&lt;br /&gt;
&lt;br /&gt;
*export the key in pkcs12 format&lt;br /&gt;
:openssl pkcs12 -export -in bangzoom.crt -inkey bangzoom.key -name &amp;quot;bangzoom Certificate&amp;quot; -out bangzoom.p12&lt;br /&gt;
&lt;br /&gt;
*examine the key&lt;br /&gt;
:openssl pkcs12 -in bangzoom.p12 -clcerts -nokeys -info&lt;/div&gt;</summary>
		<author><name>Pabut</name></author>
	</entry>
</feed>