<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>JackKozik.com &#187; RapidSSL</title> <atom:link href="http://jackkozik.com/tag/rapidssl/feed" rel="self" type="application/rss+xml" /><link>http://jackkozik.com</link> <description>Web Programming, Home Networking and Personal Travel</description> <lastBuildDate>Mon, 04 Sep 2023 14:26:56 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.9.2</generator> <item><title>Personal website now runs over https. Cheap SSL certificate from ClickSSL.</title><link>http://jackkozik.com/clickssl-for-a-cheap-certificate-http-https-for-my-personal-website/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=clickssl-for-a-cheap-certificate-http-https-for-my-personal-website</link> <comments>http://jackkozik.com/clickssl-for-a-cheap-certificate-http-https-for-my-personal-website/#comments</comments> <pubDate>Wed, 14 Nov 2012 20:05:59 +0000</pubDate> <dc:creator><![CDATA[Jack Kozik]]></dc:creator> <category><![CDATA[Web Programming]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[ClickSSL]]></category> <category><![CDATA[RapidSSL]]></category> <category><![CDATA[SSL Certificate]]></category><guid isPermaLink="false">http://jackkozik.com/?p=101</guid> <description><![CDATA[<p>I wrote a personal single page web application and decided to setup an SSL certificate and run it over https, not http.  I setup the web server and iptables to listen to port 443. But when I accessed my application using https, I got a bright red screen warning me of security certificate issues for [&#8230;]</p><p>The post <a rel="nofollow" href="http://jackkozik.com/clickssl-for-a-cheap-certificate-http-https-for-my-personal-website/">Personal website now runs over https. Cheap SSL certificate from ClickSSL.</a> appeared first on <a rel="nofollow" href="http://jackkozik.com">JackKozik.com</a>.</p> ]]></description> <content:encoded><![CDATA[<p>I wrote a personal single page web application and decided to setup an SSL certificate and run it over https, not http.  I setup the web server and iptables to listen to port 443. But when I accessed my application using https, I got a bright red screen warning me of security certificate issues for the web site.</p><div id="attachment_109" style="width: 310px" class="wp-caption alignnone"><a href="http://jackkozik.com/wp-content/uploads/2012/11/SSLCertfExpired.jpg"><img class="size-medium wp-image-109" title="SSLCertfExpired" src="http://jackkozik.com/wp-content/uploads/2012/11/SSLCertfExpired-300x138.jpg" alt="" width="300" height="138" /></a><p class="wp-caption-text">(click for larger view)</p></div><p>I guess I don&#8217;t really need to get a certificate.  All I have to do is click &#8220;proceed anyway&#8221; and everything would still work. My app would be running over the Internet encrypted.  I didn&#8217;t like the user experience; I wanted to be able to use my app from any browser, securely.  So I decided to research registering my URL for an SSL certificate.<span id="more-101"></span></p><p>I picked the reseller service called <a href="http://www.clickssl.com/">ClickSSL</a>. They sell all kinds of SSL certificates ranging from $11.95/yr upto $274/yr; there&#8217;s a range of services and security levels.  I picked their service called <a href="http://www.clickssl.com/ssl-certificates/rapidssl/rapidssl-certificate">RapidSSL</a>.  It was the cheapest and promised easy setup.  I learned that it&#8217;s building upon the GeoTrust branded SSL infrastructure.</p><h2>SSL Certificate Setup Process</h2><p>So I am not sure how much I want to restate right here, but the SSL setup process is complicated.  I had no idea what I was doing, so I totally followed the setup<a href="http://www.clickssl.com/ssl-certificates-information"> HOWTOs</a> found at the RapidSSL website.</p><p>The first step is running a tool on your server (I use Apache on Win7, tool name: genrsa).  The tool is used to generate a Private Key. I named the output file <em>my_domain_com.key. </em>The key files (excerpt only) looks sort of like this:</p><pre>-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAwUjy+PuNKKEcMyk0aRAzvRB4VRpJyHUhHGFxW4PVJwrTD7by
DlFsk1jYB5L6KRzv8pVv82jDax1gvb6TDk0Hiv9uLAynAno+MmoinXwVTatpClgN
...
-----END RSA PRIVATE KEY-----</pre><p>The next step is to create a Certificate Signing Request (CSR); I used a tool called openssl.  It used my key file from the previous step.  The CSR is your public key.  This is what is sent to GeoTrust; the Private Key is kept secure on your apache server.  The CSR tool generated file, I named it <em>my_domain_com.csr. </em>The CSR file contains:</p><pre>-----BEGIN CERTIFICATE REQUEST-----
MIICrDCCAZQCAQAwZzELMAkGA1UEBhMCVVMxETAPBgNVBAgTCElsbGlub2lzMRMw
EQYDVQQHEwpOYXBlcnZpbGxlMQ0wCwYDVQQKEwRzZWxmMSEwHwYDVQQDExhjaXNj
...
-----END CERTIFICATE REQUEST-----</pre><p>The next step in the process points you to the  SSL Certificate application webpage; it prompts you for a bunch of server information, including your fully qualified domain name and a credit card number.  It asks you to cut and paste your CSR (pubic key) into a web form. I submitted SSL application.</p><p>You get a web page asking  for an email address for from which a verification / authorization request can be mailed.    Note: this cannot be any email address, but it must be an administrator who sits on your FQDN.  For me, I picked admin@domain.com.  The SSL service sends an email with a link to a reply web page.  It will send you this email once a day for several days until you reply.  Once you reply, someone does some kind of manual check, and then a day or so later you get an email with your SSL certificate.</p><h2>The SSL certificate looks like this:</h2><pre>Your RapidSSL certificate:

-----BEGIN CERTIFICATE-----
MIIFNjCCBB6gAwIBAgIDCSa+MA0GCSqGSIb3DQEBBQUAMDwxCzAJBgNVBAYTAlVT
MRcwFQYDVQQKEw5HZW9UcnVzdCwgSW5jLjEUMBIGA1UEAxMLUmFwaWRTU0wgQ0Ew
HhcNMTIxMTExMTEwMjI1WhcNMTMxMjE0MjA0OTAxWjCBxzEpMCcGA1UEBRMgdUlJ
aG5RNkdjeG52RnA4WjFYcFlFMTdnTFdHWkZiZTkxEzARBgNVBAsTCkdUMDgyMDY2
...
-----END CERTIFICATE-----</pre><p>This certificate is what you paid the money for.  You need to save it in a file (I named mine my_domain_com.crt).  The file needs to be installed into your Apache web server. Also, you will get a pointer to a Intermediate CA Bundle file.  This file (eg my_domain_com.ca-bundle); this file needs to be saved into your Apache web server, too.  I followed the RapidSSL Instructions titled: <a href="https://knowledge.rapidssl.com/support/ssl-certificate-support/index?page=content&amp;actp=CROSSLINK&amp;id=SO6252">Install certificate in Apache</a></p><p>There were a few updates that were need, but for me, the most important point was to remember the changes to the httpd-ssl.conf file:</p><pre>SSLCertificateFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/my_domain_com.crt"
SSLCertificateKeyFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/my_domain_com.key"
SSLCertificateChainFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/my_domain_com.ca-bundle"</pre><p>&nbsp;</p><p>The post <a rel="nofollow" href="http://jackkozik.com/clickssl-for-a-cheap-certificate-http-https-for-my-personal-website/">Personal website now runs over https. Cheap SSL certificate from ClickSSL.</a> appeared first on <a rel="nofollow" href="http://jackkozik.com">JackKozik.com</a>.</p> ]]></content:encoded> <wfw:commentRss>http://jackkozik.com/clickssl-for-a-cheap-certificate-http-https-for-my-personal-website/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>