Skip to content

Inform the user about the p12 password#87

Closed
ghost wants to merge 3 commits intomasterfrom
unknown repository
Closed

Inform the user about the p12 password#87
ghost wants to merge 3 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Oct 30, 2018

Also make it less silly

Comment thread cert.go Outdated
} else {
domainCert, _ := x509.ParseCertificate(cert)
pfxData, err := pkcs12.Encode(rand.Reader, priv, domainCert, []*x509.Certificate{m.caCert}, "changeit")
pfxData, err := pkcs12.Encode(rand.Reader, priv, domainCert, []*x509.Certificate{m.caCert}, "123456")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we can change the password as there are already lots of installs using changeit.

@ghost
Copy link
Copy Markdown
Author

ghost commented Oct 31, 2018

Sorry for the mess, I think it's all good now.

@adamdecaf
Copy link
Copy Markdown
Contributor

Thanks 👍 Could you squash the commits?

@ghost
Copy link
Copy Markdown
Author

ghost commented Oct 31, 2018

Sorry I don't know how to do that.

@FiloSottile
Copy link
Copy Markdown
Owner

Thanks for the PR, I made a similar change in 6060e20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants