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 privatekey and fullchain like certbot #87

Closed
KiritoStudio opened this issue Apr 19, 2018 · 4 comments
Closed

How to generate privatekey and fullchain like certbot #87

KiritoStudio opened this issue Apr 19, 2018 · 4 comments

Comments

@KiritoStudio
Copy link

How to generate the private key file and full-chain file like certbot? I want to use them in Nginx and instead of the pfx file.

@fszlin
Copy link
Owner

fszlin commented Apr 19, 2018

Unfortunately, I don’t think it’s supported right now. 😞
Could you give an example what your for Nginx?

May be like this?

-----BEGIN RSA PRIVATE KEY----- 
...Private key...
-----END RSA PRIVATE KEY----- 
-----BEGIN CERTIFICATE----- 
...Leaf certificate...
-----END CERTIFICATE----- 
-----BEGIN CERTIFICATE----- 
...Intermediate certificate...
-----END CERTIFICATE----- 
-----BEGIN CERTIFICATE----- 
...Root certificate...
-----END CERTIFICATE-----

@KiritoStudio
Copy link
Author

The private key is like this:
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----

and the fullchain is like this(with all certificate):
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
....

@fszlin
Copy link
Owner

fszlin commented Apr 20, 2018

thanks, will add this to next version.

@fszlin fszlin mentioned this issue Apr 20, 2018
3 tasks
@fszlin fszlin closed this as completed in 1725340 Apr 21, 2018
@KiritoStudio
Copy link
Author

@fszlin Could you please release the new version(2.1.0) to nuget.org? Thanks.

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

No branches or pull requests

2 participants