Hi all.
I want to generate a ssl certificate and use this certificate for authentication to the CentOS 7 instances.
I manage to generate and signed the certificate
However, I was struck at installing the cert, as well as how to test if the certificate authentication is successful or not.
The portion that I struck at was the redirection to https:
...
sudo vi /etc/httpd/conf/httpd.conf
<VirtualHost *:80>
ServerName www.example.com
Redirect "/" "https://www.example.com/"
</VirtualHost>
...
Which part of the config file should I be looking at?
Also, how can we test for successful or failure authentication to login to the instances in the cloud?
Lastly, one thing I still don't understand is that why do I need a apache server for ssl certificate when I'm only used for mail access?
Please advise.
Many thanks.
Reference: https://medium.com/@hbayraktar/how-to-install-ssl-certificate-on-apache-for-centos-7-38c25b84d8b1
Trying to generate and install the SSL Certificate to be used for authentication when accessing CentOS 7
-
- Posts: 4
- Joined: 2014/01/10 20:17:50
Re: Trying to generate and install the SSL Certificate to be used for authentication when accessing CentOS 7
httpd.conf. You need to configure the SSL options for the virtualhost. Found an example below. Google "Apache ssl certificate" for more info.
https://www.digicert.com/csr-ssl-instal ... penssl.htm
https://www.digicert.com/csr-ssl-instal ... penssl.htm
Re: Trying to generate and install the SSL Certificate to be used for authentication when accessing CentOS 7
Hi.
Thanks.
Managed to settle with the cert authentication already.
Thanks.
Thanks.
Managed to settle with the cert authentication already.
Thanks.
Re: Trying to generate and install the SSL Certificate to be used for authentication when accessing CentOS 7
httpd.conf is the wrong place for it. The mod_ssl package sets it up from /etc/httpd/conf.d/ssl.conf.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke