![]() #SSLCACertificateFile "/opt/bitnami/apache2/ssl/example.crt" #SSLCertificateKeyFile "/opt/bitnami/apache2/ssl/example.key" #SSLCertificateFile "/opt/bitnami/apache2/ssl/example.crt" pem file we can go with traditional method SSLCertificateKeyFile "/etc/ssl/certs/example.key" ![]() ServerName SSLCertificateFile "/etc/ssl/certs/example.pem" TransferLog "/opt/bitnami/apache2/logs/access_log" ServerAdmin "/opt/bitnami/apache2/logs/error_log" SSLSessionCache "shmcb:/opt/bitnami/apache2/logs/ssl_scache(512000)"ĭocumentRoot "/opt/bitnami/apache2/htdocs/" Enable (Make sure only one listen is enabled) Installation of SSL on Drupal Website with Bitnami Package.ġ) Go to /opt/bitnami/apache2/conf open nfĢ) Go to /opt/bitnami/apache2/conf/extra open nf etc/init.d/apache2 restart or service apache2 restart SSLCertificateChainFile /ssl/IntermediateCA.crt SSLCertificateKeyFile /ssl/mapmygenome.key SSLCertificateFile /ssl/ssl_certificate.crt On Debian systems, run the following command to enable Apache's SSL mod:Ģ) /etc/apache2/sites-enabled/nfĪdd the following informations, if not present Install SSL certificate in a Bitnami Serverġ.Determine which kind of server you are using. A Input -m state -state NEW -m tcp -p tcp -dport 443 -j ACCEPTĪnd restart iptables : service iptables restart Please check the url with https and if still not working make sure the port no 443 open in iptables. Restarting the Apache server will reload it with all of your changes in place. Also check the syntax by following command Your virtual host is now all set up! Save and Exit out of the file. SSLCACertificatePath /etc/httpd/ssl/bundle.crt SSLCertificateChainFile /etc/httpd/ssl/bundle.crt SSLCertificateKeyFile /etc/httpd/ssl/yourdomain.key SSLCertificateFile /etc/httpd/ssl/apache.crt #shared by SSL providers of certification file Uncomment the DocumentRoot and ServerName line and replace with your DNS approved domain name or server IP address (it should be the same as the common name on the certificate):įind the following three lines, and make sure that they match the extensions below: Now we have all of the required components of the finished certificate.The next thing to do is to set up the virtual hosts to display the new certificate.įind the section that begins with and make some quick changes. server FQDN or YOUR name) :ĭownload the files which contains certificate and intermediate bundle files from SSL providers and upload to /etc/httpd/ssl Organizational Unit Name (eg, section) :Dept of MerrimentĬommon Name (e.g. Organization Name (eg, company) :Awesome Inc State or Province Name (full name) :New York If you enter '.', the field will be left blank. There are quite a few fields but you can leave some blankįor some fields there will be a default value, What you are about to enter is what is called a Distinguished Name or a DN. You are about to be asked to enter information that will be incorporated This command will prompt terminal to display a lists of fields that need to be filled in.The most important line is "Common Name". With this command, we will be both creating the self-signed SSL certificate and the server key that protects it, and placing both of them into the new directory. ![]() ![]() For example, if your domain name is, you would type coolexample.key andcoolexample.csr. Replace yourdomain with the domain name you're securing. Openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr When you have completed generating your CSR, cut/copy and paste it into the CSR field on the SSL certificate-request page. Step Three - GENERATING A CERTIFICATE SIGNING REQUEST (CSR) - APACHE 2.X and deploy to SSL environment - įollow these instructions to generate a certificate signing request (CSR) for your Apache Web server. Next, we need to create a new directory where we will store the server key and certificate In order to set up the self signed certificate, we first have to be sure that Apache and Mod SSL are installed on our VPS. How To install a SSL Certificate on Apache for CentOS with GoDaddy ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |