Windows certificate in Apache web server

technicien14

New Member
Joined
Apr 4, 2022
Messages
1
Reaction score
0
Credits
18
Hi,
I have created a windows certificate to a apache web server. i have configured like below :


<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
ServerName exemple:443
DocumentRoot /var/www/html/glpi

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/exemple.cer
SSLCertificateKeyFile /etc/apache2/ssl/exemple.test.local
SSLCertificateChainFile /etc/apache2/ssl/CA.cer

<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>

</VirtualHost>
</IfModule>




Then i have activated the web server by executing a command a2enmod default-ssl.conf and reloaded. but , i have received an en error message

ERR_CONNECTION_REFUSED


Could you please tell me what is the problem in my configuration .


Thanks

Techni
 


ERR_CONNECTION_REFUSED is usually caused by either the port being closed, or no process is listening behind it.

Check the iptables / firewall configuration and look for errores in the apache logs.
 

Members online


Top