install certificate on httpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am using Fedora 10 httpd. By default, I can http:// and https:// to the
host. 
Now I want to 

1. disable http://  ie disable port 80 and keep https:// or port 443 only.
I am still using the default DocumentRoot  /var/www/html/.
I am confused if I should use Listen 443 or Listen x.x.x.x:443 or ServerName
aaa.com:443 .
because when I /etc/init.d/httpd restart, it complainted 443 is already
bind...

2. I use openssl to self-signed a certificate:
openssl genrsa -des3 -out server.key 4096 
openssl req -new -key server.key -out server.csr 
openssl x509 -req -days 365 -in server.csr -signkey server.key -out
server.crt 

Then I add 
SSLEngine  on
SSLCertificateFile /home/test/server.crt
SSLCertificateKeyFile /home/test/server.key
just below the line of DocumentRoot

but the https://  result is it still showed default system certificate
(something like localhost..) not my self-signed one.

At this stage I dont plan to use <VirtualHost> ... to include the above
certificate.
Could someone please help. Thanks a lot.
-- 
View this message in context: http://old.nabble.com/install-certificate-on-httpd-tp28702259p28702259.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux