Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crypto/tls: private key does not match public key #30

Open
l3iggs opened this issue May 28, 2015 · 2 comments
Open

crypto/tls: private key does not match public key #30

l3iggs opened this issue May 28, 2015 · 2 comments

Comments

@l3iggs
Copy link

l3iggs commented May 28, 2015

I'm trying to specify my own ssl keys, but the server won't run with them. It gives:

2015-05-28T21:03:57Z 4f3e3d0bdc3c lfs[104] [proc.go:63]: fn=main msg=Using https
2015-05-28T21:03:58Z 4f3e3d0bdc3c lfs[104] [main.go:81]: fn=main err=Could not create https listener: crypto/tls: private key does not match public key

This key & crt was generated by Comodo or some similar paid service (can't remember) and they work fine with apache. Self-generated keys work fine.

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

No branches or pull requests

3 participants
@l3iggs and others