I've currently got the setup below for my apache2 installation on my debian stable box. I need to install this new network solutions ssl certificate I purchased and when I try to follow their instructions the server dies. Here is the existing config file that I have.
Right now in /etc/apache2/sites-available/secure-intranet I have the code below. Debian does not use the httpd.conf file but instead uses sites-available and apache2.conf located in /etc/apache2/apache2.conf
I'm lost as to how to install the certificates. I've received the following files from Network Solutions:
mywebdomain.com.crt
AddTrustExternalCARoot.crt
UTNAddTrustServer_CA.crt
NetworkSolutions_CA.crt
Apache_Plesk_Install.txt
The instructions on their website are here:
http://customersupport.networksoluti...cle.php?id=722
But since I don't use the httpd.conf and everything seems to be referenced in the file i've pasted below, i'm lost. I've attempted to do this myself but have just managed to stop apache2 from startign and killing it. So now i'm back to square one.
Code:
NameVirtualHost *:443
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/apache.pem
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@mydomain.com
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R]
RewriteLog "/var/log/apache2/rewrite.log"
RewriteLogLevel 2
</VirtualHost>