Re:Show HN: Mkcert – Valid HTTPS certificates for localhost
by MehdiHK on Monday January 07, 2019 @02:40AM
(#18843482)
You cannot use them for localhost
[ Parent
| on HN ]
Re:Show HN: Mkcert – Valid HTTPS certificates for localhost
by jimdigriz on Monday January 07, 2019 @08:38AM
(#18844947)
Seems a lot easier to register your own domain (useful for so many other things), point localhost.mydomain.com to 127.0.0.1 and run:
sudo apt-get -yy install --no-install-recommends certbot
mkdir -p le
certbot --work-dir ./le --logs-dir le --config-dir le -d localhost.mydomain.com --manual --preferred-challenges dns certonly
Follow the instructions adding the TXT record, you have a valid cert in minutes.