logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Complete Newb need exact instructions on SSL installs
Author
Terpl



Joined: 04 Sep 2015
Posts: 1

PostPosted: Fri 04 Sep '15 23:08    Post subject: Complete Newb need exact instructions on SSL installs Reply with quote

I'm trying to install SSL certificates on a new Apache Server. All the instructions I've received don't line up with the keys and installation of Apache as it is on my system.

I'm hoping that someone can provide very basic, totally remedial, for a complete moron instructions taking me step by step through the process as all the instructions online are close, but not quite like my system and I'm unable to extrapolate to make it work.



I've done the following:

Installed Ubuntu vanilla desktop install
sudo apt-get install apache2

I've downloaded the SSL cert from godaddy and they've provided me with the following: yourdomain.csr, yourdomain.key alphanumeric.crt and gd_bundle-g2-g1.crt

Apache appears to be installed at /etc/apache2 with the html hosted at /var/www and I can visit the site normally through port 80. The server does have a FQDN.

Only one secure website is to served from this so nothing fancy is necessary.

Thanks in advance, I have no idea why I'm struggling with this so much and Godaddy is completely incapable of providing any assistance for reasons passing understanding.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 08 Sep '15 11:02    Post subject: Reply with quote

That isn't that hard. Here an example config for startssl certs. You can change it for your needs.

Code:

<VirtualHost *:443>
   ServerName www.example.com
   ServerAlias example.com
   DocumentRoot "/var/www"

   SSLEngine on
   SSLCertificateFile conf/certs/alphanumeric.crt
   SSLCertificateKeyFile conf/certs/yourdomain.key
   SSLCertificateChainFile conf/certs/sub.class1.server.sha2.ca.pem
   SSLCACertificateFile conf/certs/ca-sha2.pem


You get the pem files at https://certs.secureserver.net/repository/
Back to top


Reply to topic   Topic: Complete Newb need exact instructions on SSL installs View previous topic :: View next topic
Post new topic   Forum Index -> Apache