mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
[GH-ISSUE #96] Error running mkcert-v1.2.0-windows-amd64.exe -install #52
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#52
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 @DrDrrae on GitHub (Jan 7, 2019).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/96
I'm receiving an error when runing mkcert 1.2.0 on Windows. I downloaded the prebuilt binary.
Windows 10 1809 17763.195
Running cmd.exe as Administrator.
ERROR: failed to generate CA certificate: asn1: string not valid UTF-8
@NicolasCARPi commented on GitHub (Jan 7, 2019):
What if you try from Powershell.exe instead of cmd.exe?
@adamdecaf commented on GitHub (Jan 7, 2019):
What's the username you're using (on the Windows computer) to run mkcert with? That's put into the certificate.
@DrDrrae commented on GitHub (Jan 7, 2019):
Powershell.exe is the same.
Does the computer get used at any point in the process? I just remembered that my computer name is "¡" (upside down exclamation point). I'll try on another computer.
@adamdecaf commented on GitHub (Jan 7, 2019):
Yep. The hostname as well:
github.com/FiloSottile/mkcert@da4da8a4bc/cert.go (L34-L39)@DrDrrae commented on GitHub (Jan 7, 2019):
That's probably the issue. Doesn't like the upside down exclamation point as the hostname.
@NicolasCARPi commented on GitHub (Jan 7, 2019):
Using non ascii characters as a hostname sounds like a bad idea from the start, but that's just my 2 cents :) (it reminds me of Mac users putting '/' in filenames and not seeing an issue with that)
@DrDrrae commented on GitHub (Jan 7, 2019):
My computer name was 🍕 for a while but it caused issues with Windows Subsystem for Linux. Guess I found another issue.
It is, as far as I know, supported in Windows 10 and even works in a domain environment.
@FiloSottile commented on GitHub (Jan 8, 2019):
Unicode should work in certificates, so the issue here seems to be that the
hostnameoutput is not UTF-8. Anyone better versed than me on Windows character encodings want to take a look?@LuomingXu commented on GitHub (Mar 24, 2019):
same problem...
Windows, v1.3.0