mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #461] SSL certificates not accepted in browser - Safari, chrome, firefox #295
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#295
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lakshmajee on GitHub (Jul 10, 2022).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/461
Environment
mkcert -version): v1.4.4What you did
After generating certificates, I attached them to angular cli. (It is able to detect the certificates at a given path)
I have gone through some closed issues and tried to restart the browser and the entire machine.
But none of them helped.
What went wrong
@ahmadSaeedGoda commented on GitHub (Aug 13, 2022):
Same here with ReactJS. Any Updates please?
@hakimio commented on GitHub (Aug 13, 2022):
Might be a change in Chrome causing this.
Anyway, for anyone on Windows try this guide from StackOverflow ("Windows: Generate and self sign certificate"). Worked well for me.
@N6REJ commented on GitHub (Aug 21, 2022):
I'm hoping this can be fixed.
I get the following error when I try to install
@brezanac commented on GitHub (Aug 28, 2022):
Try running
mkcertinside Powershell with elevated (Administrator) privileges or simply install gsudo.@N6REJ commented on GitHub (Aug 29, 2022):
that was inside an elevated powershell. as shown here

@brezanac commented on GitHub (Aug 29, 2022):
The only indication that Powershell is running with elevated privileges is that it will use
C:\Windows\system32>as the startup directory and the window title will displayAdministrator: Windows PowerShell. Your images does not contain any of those so I assumed unprivilleged Powershell, which will break mkcert since it needs acceess to sensitive areas of the operating system.A nice and easy way to test for elevated privileges is to run the following line of code inside Powershell.
([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)@N6REJ commented on GitHub (Aug 29, 2022):
I apologize your completely correct. I'm trying to figure out how to tell phpstorm to run it as admin as we speak.

@N6REJ commented on GitHub (Aug 29, 2022):
gsudo worked perfectly! TY!
@N6REJ commented on GitHub (Aug 29, 2022):
Now that that is fixed... we store all ssl certs in the /ssl folder of our app. But we want to change from openssl to mkcert. How can we tell mkcert to use the ssl folder?
@lakshmajee commented on GitHub (Sep 8, 2022):
Actually
mkcertsselling point is you don't need to do or use multiple commands, right? Why do we need some workaround to get started with it? Ifmkcertsis all around workarounds, I need to switch to another library.@blueblakk commented on GitHub (Sep 4, 2023):
Facing the exact same issue.
@SiegeSailor commented on GitHub (Sep 10, 2024):
Any update?