Save certificate to file with --signcsr #241

Closed
opened 2025-12-29 01:19:39 +01:00 by adam · 3 comments
Owner

Originally created by @belliash on GitHub (Aug 6, 2017).

Actually --signcsr outputs certificate to stdout and --out parameter is not used.
Please implement ability to specify a location with output ceritificate file.

Originally created by @belliash on GitHub (Aug 6, 2017). Actually --signcsr outputs certificate to stdout and --out parameter is not used. Please implement ability to specify a location with output ceritificate file.
adam closed this issue 2025-12-29 01:19:39 +01:00
Author
Owner

@lukas2511 commented on GitHub (Aug 6, 2017):

Just use dehydrated --signcsr /path/to/cert.csr > cert.pem, no need for a parameter.

@lukas2511 commented on GitHub (Aug 6, 2017): Just use `dehydrated --signcsr /path/to/cert.csr > cert.pem`, no need for a parameter.
Author
Owner

@belliash commented on GitHub (Aug 7, 2017):

This is not a solution, because on any error this would overwrite valid certificate with empty file.

@belliash commented on GitHub (Aug 7, 2017): This is not a solution, because on any error this would overwrite valid certificate with empty file.
Author
Owner

@txr13 commented on GitHub (Aug 7, 2017):

Why is it not a solution? Write it out to a temporary file, then check to make sure it's a valid cert (and not empty or an error message). If it is a valid cert, move it into the correct location and do whatever else is necessary.

@txr13 commented on GitHub (Aug 7, 2017): Why is it not a solution? Write it out to a temporary file, then check to make sure it's a valid cert (and not empty or an error message). If it is a valid cert, move it into the correct location and do whatever else is necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#241