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 issue a cert with an existing private key #5283

Open
ChaojuWang opened this issue Sep 13, 2024 · 2 comments
Open

How to issue a cert with an existing private key #5283

ChaojuWang opened this issue Sep 13, 2024 · 2 comments

Comments

@ChaojuWang
Copy link

ChaojuWang commented Sep 13, 2024

The default process generates a random key to issue a new cert. How to issue a cert with an existing private key?
Thanks.

Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@ChaojuWang ChaojuWang changed the title How to How to issue a cert with existing private key Sep 13, 2024
@ChaojuWang ChaojuWang changed the title How to issue a cert with existing private key How to issue a cert with an existing private key Sep 13, 2024
@ninetian
Copy link

If you want to issue a certificate, you must create a CSR (Certificate Signing Request) first . When creating a CSR, you will receive two files: file.csr (the certificate signing request file) and file.key (the private key file).

The CSR file is submitted to a CA (Certificate Authority) to request a new certificate. Once the CSR is submitted, the CA will issue a new certificate (usually in .crt format), which will pair with the local private key for use.

If you already have an existing private key, you can simply submit the existing CSR file to the CA to get a new certificate.
the private key not update

https://github.com/acmesh-official/acme.sh/wiki/Issue-a-cert-from-existing-CSR#2-issue-a-cert-from-the-csr

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

2 participants