• We did not send an email asking for donations - please read this post.

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 [email protected]
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
 


gvisoc

Well-Known Member
Joined
May 29, 2020
Messages
446
Reaction score
535
Credits
4,570
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.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top