https:// for localhost subdomains "*.localhost"
Posted by: volkankaban (---.hsd1.tx.comcast.net)
Date: November 03, 2021 07:45PM

How to set up mkcert ssl with localhost?

C:\WAMP
\---www (localhost)
+---development (https://dev.localhost)
+---project (https://project.localhost)
+---app (https://app.localhost)
+---mail (https://mail.localhost)



Edited 1 time(s). Last edit at 11/04/2021 05:32AM by volkankaban.

Options: ReplyQuote
Re: https:// for localhost subdomains "*.localhost"
Posted by: Otomatic (Moderator)
Date: November 03, 2021 08:15PM

Hi,

See item number 7 of Wampserver 3 - Some explanations
You only want to get your feet under the table, but you must at least set the table.

Giving a man a fish will give him one meal. Teaching him to fish will feed him for a lifetime.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: https:// for localhost subdomains "*.localhost"
Posted by: volkankaban (---.hsd1.tx.comcast.net)
Date: November 04, 2021 03:55PM

Hi, and sorry if my question was bother you. I'm using the wamp server for six years. I switched from xampp to wamp. I'm using the wamp server for like six years, and after all of my three days of research and failures, I decided to ask a question here. I don't see any updated working resource for apache 2.4.51 with PHP 8.0.12. If you can use https on your localhost with all sub-domains, then I'm wrong. if you can't set up https on your localhost, then you're wrong.
Thanks.

Options: ReplyQuote
Re: https:// for localhost subdomains "*.localhost"
Posted by: Otomatic (Moderator)
Date: November 04, 2021 07:12PM

Hi,

Locally, I don't have sub-domain on localhost, but I do have three on the aviatechno ServerName and it's no problem to have them in https by following the procedure indicated above.

Seen by Apache :
E:\wamp64\bin\apache\apache2.4.51\bin>httpd -t -D DUMP_VHOSTS
VirtualHost configuration:
......
*:443 is a NameVirtualHost
 default server aviatechno (E:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-ssl.conf:33)
 port 443 namevhost aviatechno (E:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-ssl.conf:33)
 port 443 namevhost wampserver.aviatechno (E:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-ssl.conf:65)
 port 443 namevhost le-pointu.aviatechno (E:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-ssl.conf:96)
 port 443 namevhost faq-fra.aviatechno (E:/wamp64/bin/apache/apache2.4.51/conf/extra/httpd-ssl.conf:127)

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.