[GH-ISSUE #465] having issue accessing https://localhost/ #297

Closed
opened 2026-02-25 22:33:03 +03:00 by kerem · 2 comments
Owner

Originally created by @gree303 on GitHub (Sep 8, 2022).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/465

the installation ran without problems on my debian 10.
$ mkcert -install The local CA is already installed in the system trust store! 👍 The local CA is already installed in the Firefox and/or Chrome/Chromium trust store! 👍

Furhter I imported the ssl into brave "Manage certificates".
It does show up within "others"

but for some reason I can not access localhost via https.
result: Unable to connect

any clue what I'm missing here? thank you.

Originally created by @gree303 on GitHub (Sep 8, 2022). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/465 the installation ran without problems on my debian 10. `$ mkcert -install The local CA is already installed in the system trust store! 👍 The local CA is already installed in the Firefox and/or Chrome/Chromium trust store! 👍 ` Furhter I imported the ssl into brave "Manage certificates". It does show up within "others" but for some reason I can not access localhost via https. result: Unable to connect any clue what I'm missing here? thank you.
kerem closed this issue 2026-02-25 22:33:03 +03:00
Author
Owner

@gree303 commented on GitHub (Sep 9, 2022):

I did import the .pem file into firefox and restarted it - no luck.

<!-- gh-comment-id:1242190179 --> @gree303 commented on GitHub (Sep 9, 2022): I did import the .pem file into firefox and restarted it - no luck. [](https://github.com/FiloSottile/mkcert/issues/326)
Author
Owner

@gree303 commented on GitHub (Sep 9, 2022):

SOLVED: I had to put the information of the generated ssl as the virtualhost.
Example:
<VirtualHost *:443> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/ SSLEngine on SSLCertificateFile /home/user/.config/ssl/local.crt SSLCertificateKeyFile /home/user/.config/ssl/local.key SSLCertificateChainFile /home/user/.config/ssl/local.ca-bundle </VirtualHost>

Don't forget to restart apache2.

<!-- gh-comment-id:1242210849 --> @gree303 commented on GitHub (Sep 9, 2022): SOLVED: I had to put the information of the generated ssl as the virtualhost. Example: ` <VirtualHost *:443> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/ SSLEngine on SSLCertificateFile /home/user/.config/ssl/local.crt SSLCertificateKeyFile /home/user/.config/ssl/local.key SSLCertificateChainFile /home/user/.config/ssl/local.ca-bundle </VirtualHost>` Don't forget to restart apache2.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#297
No description provided.