I have installed and configured XAMPP on linux as a web server for development and accessible by network computers. I have configured httpd-vhost and other files to be able to use SSL and https browsing. Following these instructions I have generated the corresponding certificates and I have added xampp. In local mode, in linux itself (Centos 7), it navigates well through https, but the network computers in windows give me an invalid certificate error when browsing the pages despite having installed the certificate (.crt) in the system as an Authorization Authority in Firefox. Would I have to generate another type of certificate? How can I complete it to be able to browse https on the net over xampp?
I have a series of steps that may solve your problem with the SSL certificate. It may be because your certificate does not have an alternative name.
CREATE VALID SELF-SIGNED CERTIFICATE
CONFIGURE FILE openssl.cnf go to path
open FILE openssl.cnf
INSIDE THE FILE UNCOMMENT AND MODIFY VARIABLE req_extensions
ADD TO END OF FILE
Note: yourdomain -> your domain name in question would go here.
GO TO APACHE DIRECTORY WHERE THE OPENSSL FILE IS
BEING IN THIS DIRECTORY WE EXECUTE THE FOLLOWING COMMANDS TO CREATE THE CERTIFICATE
GENERATE PRIVATE KEY
GENERATE CSR
CREATE CERTIFICATE, CRT
YOU ALREADY HAVE YOUR SELF-SIGNED CERTIFICATE CREATED