LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-07-2008, 10:27 AM   #1
sinbsd
LQ Newbie
 
Registered: Oct 2002
Distribution: Mandrake 9
Posts: 15
Blog Entries: 1

Rep: Reputation: 8
Installing Network Solution SSL Certificate in Apache2 - Debian Stable.


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>
 
Old 05-07-2008, 05:48 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
post
ls /etc/apache2/ssl/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache2-ssl-certificate script is missing jimbo1708 Linux - Server 3 03-21-2008 05:55 PM
create a new certificate request SSL Debian Linux xxsubz78x Debian 8 12-09-2007 05:22 PM
php pages are calling a download window @ apache2 @ debian stable janus_tr Linux - Server 9 05-25-2007 07:19 PM
installing ssl certificate ilnli Linux - Software 1 08-05-2006 09:01 AM
Debian Woody - Apache2 w SSL claeseke Linux - Software 1 08-13-2003 04:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration