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

How to generate server key and csr #9

Open
Mythbusters123 opened this issue Sep 5, 2021 · 2 comments
Open

How to generate server key and csr #9

Mythbusters123 opened this issue Sep 5, 2021 · 2 comments
Labels

Comments

@Mythbusters123
Copy link

I am fairly new to this, and I am trying to get out of paying ssl fees from heroku, and I stumbled upon this. I looked up how to do it but it was all self signed and it wouldnt generate a .pem. Thank you

@bruncsak
Copy link
Owner

Sorry for answering late, I was on holiday. I am hoping that my answer is still useful. The simplest way is to generate the server key instead of generating the csr. It is the same as the creation of the account key:

# umask 0177
# openssl genrsa -out server.key 4096
# umask 0022

Then just provide to the program the key via the -k option for the sign action and provide also the list of your domain name(s).

@bruncsak
Copy link
Owner

Sorry for the later answer, there is a second way. You may use the gen-csr.sh utility as well. I just updated it, fixing some bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants