Questions tagged [mkcert]
19 questions
4
votes
1 answer
mkcert certificate not works on local ip adress
I'm trying to convert my app to PWA and I need to use https on localhost on my raspberrypi 4 and can be reached using 192.168.0.2 on LAN
Certificate seems to be not valid and I don't understand what I'm missing.
All command are executed as root user…

akio
- 851
- 9
- 29
4
votes
1 answer
Generating certificate for local dev environment in WSL2
Having difficulty getting a certificate installed in a local development environment that is isolated to WSL2. I've done the exact same steps in macOS and Linux, and have had zero issues.
The steps are the following:
# Download and install mkcert
if…

cjones
- 8,384
- 17
- 81
- 175
3
votes
0 answers
mkCert not installing on windows 10
I seem to be doing everything right following this document
https://github.com/FiloSottile/mkcert
to install mkcert on windows via chocolatey.
Also, I get a message that it gets installed successfully. But then the next moment when I try running…

ABGR
- 4,631
- 4
- 27
- 49
3
votes
1 answer
How to setup local environment to run on https
I am trying to run my React application via https local. I have followed the steps of this tutorial, have installed mkcert correctly and the root of my project currently looks like this:
|-- my-react-app
|-- package.json
|-- localhost.pem
…

sgt_pepper85
- 421
- 4
- 14
3
votes
1 answer
ssl certificate generated by mkcert is not a full chain
I am using mkcert to generate a self signed certificate for localhost.
mkcert -install
mkcert localhost
This works fine for the browser but if I try and and do a fetch from node, I get this error:
FetchError: request to https://localhost:52882/…

dagda1
- 26,856
- 59
- 237
- 450
2
votes
1 answer
Mkcert generated rootCA on Node docker container, with Browsersync over https insecure
I'm running Nginx in one container over ports 80 and 443, the later with SSL certs generated with mkcert. This works wonderfully.
In another container I'm running Node that in turn runs Gulp which in turn runs Browsersync.
My Gulp file runs in the…

Stuart Stiles
- 31
- 5
2
votes
1 answer
Need Help Setting up HTTPS on WSL2
I really need some help configuring WSL to work using HTTPS for local Apache sites. I've spent 2 days trying to get this to work. I've used the following articles for reference (among other similar…

Joe
- 1,117
- 1
- 8
- 13
1
vote
0 answers
How to get a protocol in local server side (h3 module / mkcert / nuxt3)
I need to get 'https' protocol.
I find h3 module return a protocol using getRequestprotocol(event).
// e.g.
import { getRequestProtocol } from 'h3'
if (process.server) {
console.log(getRequestProtocol(useNuxtApp().ssrContext.event))
}
But, It…

LSS
- 57
- 3
1
vote
1 answer
MKcert - ERROR: add cert: failed adding cert: Access is denied
Lately I have started facing an issue while installing mkcert on my windows system. I have done this by using admin rights.
PS C:\WINDOWS\system32> mkcert -install
ERROR: add cert: failed adding cert: Access is denied.
Please help me resolve this…

Syed Zeeshan
- 51
- 1
- 2
1
vote
0 answers
Symfony CLI server use of mkcert certificates
I am currently using Symfony with react and webpack to build an application. I use the Symfony CLI development server. I would like to turn this application into a Progressive Web Application (PWA) according to the cookbook at PWA Workshop. However,…

tlarson
- 353
- 4
- 11
0
votes
0 answers
How to run Next app over HTTPS rather than HTTP with mkcert?
I have followed this article https://web.dev/how-to-use-local-https/ to do the steps required to run Next app over HTTPS.
In short these are the steps:
Brew install mkcert
mkcert -install
mkcert localhost
Then add certs to run script "dev":…

Nex
- 92
- 9
0
votes
1 answer
How to show connection is secure (SSL) in website?
I have created the self sign certificated with the help of mkcert for my ip address then I access the website which i place in the tomcat when I access this in my local computer its shows me i.e https://idAddress:8443 connection is secure but when i…
user20925321
0
votes
0 answers
mkcert : none secured localhost working after uninstalling mkcert
how are you doing?
I have installed mkcert on windows to test it.
choco install mkcert
mkcert -install
mkcert -pkcs12 localhost
After testing it, I tried to remove it like this:
mkcert -uninstall
choco uninstall mkcert
Lastly I deleted the directory…

aks
- 51
- 9
0
votes
1 answer
DDEV Install "unable to locate the package certutil"
I am trying to run Drupal on DDEV. In an administrative window, I installed mkcert v1.4.4. I have successfully installed Docker, Ubuntu 2204.1.6 and DDEV. When I run sudo apt-get update && sudo apt-get install -y certutil xdg-utils in Ubuntu, I…

Len Lamberg
- 1
- 3
0
votes
2 answers
Google chrome ERR_CONNECTION_REFUSED using mkcert
Environment
OS: MacOS 12.6
mkcert version: 1.4.4
Server: localhost
Client: Chrome 105.0.5195.125
What you did
mkcert -install
mkcert {$domainName}
What went wrong
Works well on firefox & safari but not on chrome when accessing my react app on…

Oscar
- 1,071
- 13
- 26