[GH-ISSUE #7] Installation issue #3

Closed
opened 2026-02-25 22:32:21 +03:00 by kerem · 1 comment
Owner

Originally created by @elderapo on GitHub (Jun 27, 2018).
Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/7

After running command make on Ubuntu 14.04 and go1.2.1 linux/amd64 I get:

mkdir -p ".GOPATH/src/github.com/FiloSottile/mkcert"
rmdir ".GOPATH/src/github.com/FiloSottile/mkcert"
ln -s ../../../.. ".GOPATH/src/github.com/FiloSottile/mkcert"
mkdir -p bin
ln -s ../bin .GOPATH/bin
touch .GOPATH/.ok
GOPATH="/tmp/mkcert/.GOPATH" go install -v github.com/FiloSottile/mkcert
github.com/FiloSottile/mkcert
# github.com/FiloSottile/mkcert
.GOPATH/src/github.com/FiloSottile/mkcert/main.go:160: undefined: x509.MarshalPKCS8PrivateKey
.GOPATH/src/github.com/FiloSottile/mkcert/main.go:233: undefined: x509.MarshalPKCS8PrivateKey
make: *** [covfefe] Error 2
Originally created by @elderapo on GitHub (Jun 27, 2018). Original GitHub issue: https://github.com/FiloSottile/mkcert/issues/7 After running command `make` on Ubuntu 14.04 and `go1.2.1 linux/amd64` I get: ``` mkdir -p ".GOPATH/src/github.com/FiloSottile/mkcert" rmdir ".GOPATH/src/github.com/FiloSottile/mkcert" ln -s ../../../.. ".GOPATH/src/github.com/FiloSottile/mkcert" mkdir -p bin ln -s ../bin .GOPATH/bin touch .GOPATH/.ok GOPATH="/tmp/mkcert/.GOPATH" go install -v github.com/FiloSottile/mkcert github.com/FiloSottile/mkcert # github.com/FiloSottile/mkcert .GOPATH/src/github.com/FiloSottile/mkcert/main.go:160: undefined: x509.MarshalPKCS8PrivateKey .GOPATH/src/github.com/FiloSottile/mkcert/main.go:233: undefined: x509.MarshalPKCS8PrivateKey make: *** [covfefe] Error 2 ```
kerem closed this issue 2026-02-25 22:32:21 +03:00
Author
Owner

@jbrunski commented on GitHub (Jun 27, 2018):

It looks like the code requires go version 1.10 as x509.MarshalPKCS8PrivateKey didn't get added until that version.
See: https://github.com/golang/go/issues/24726

It's working for me after downloading go 1.10 from https://golang.org/dl/

<!-- gh-comment-id:400854303 --> @jbrunski commented on GitHub (Jun 27, 2018): It looks like the code requires go version 1.10 as x509.MarshalPKCS8PrivateKey didn't get added until that version. See: https://github.com/golang/go/issues/24726 It's working for me after downloading go 1.10 from https://golang.org/dl/
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#3
No description provided.