Baza znanja
Apache (with mod_ssl) Ispiši članak
Installing SSL certificate on Apache with mod_ssl
- To install certificate you need 2 files: .crt and .ca-bundle
- Move all of the certificate related files to their appropriate directories.
A typical setup:- Move the Private Key that was generated earlier to the ssl.key directory, which is typically found in /etc/ssl/. This must be a directory which only Apache can access.
- Move the yourDomainName.crt and yourDomainName.ca-bundle to the ssl.crt directory, which is typically found in the /etc/ssl/directory.
- Edit the file that contains the SSL configuration with text editor.
Note: The location of this file may vary from each distribution. It will be referenced in the Apache global configuration file. Look for the lines starting with include.
Apache Configuration File:- Fedora/CentOS/RHEL: /etc/httpd/conf/httpd.conf
- Debian and Debian based: /etc/apache2/apache2.conf
- httpd-ssl.conf
- ssl.conf
- or in the /etc/apache2/sites-enabled/ directory.
- In the VirtualHost section of the file please add these directives if they do not exist. It is best to comment out what is already there and add the below entries.
- SSLEngine on
- SSLCertificateKeyFile /etc/ssl/ssl.key/server.key
- SSLCertificateFile /etc/ssl/ssl.crt/yourDomainName.crt
- SSLCertificateChainFile /etc/ssl/ssl.crt/yourDomainName.ca-bundle (Apache 1.x: Please use SSLCACertificateFile instead of SSLCertificateChainFile).
- Save your config file and restart the Apache service.
Je li Vam ovaj odgovor pomogao?
Vezani članci
What is CSR and who needs it?
A Certificate Signing Request is a text generated on the server that is used to create your SSL...
A Certificate Signing Request is a text generated on the server that is used to create your SSL...
Apache/OpenSSL
To generate a pair of private key and public Certificate Signing Request (CSR) for a webserver,...
To generate a pair of private key and public Certificate Signing Request (CSR) for a webserver,...
Apache (Multi-Domain version)
To generate CSR file which includes more than one Fully Qualified Domain Name, you need to...
To generate CSR file which includes more than one Fully Qualified Domain Name, you need to...
Apple Mac OS X Server
CSR is generated in 2 steps.I. Private key generation1. Log into server and open...
CSR is generated in 2 steps.I. Private key generation1. Log into server and open...
Barracuda SSL VPN
Generating a Certificate Signing Request for Barracuda VPNFrom the appliance web interface,...
Generating a Certificate Signing Request for Barracuda VPNFrom the appliance web interface,...