mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 23:23:32 +01:00
Can't make the -o option work #223
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrik974 on GitHub (Jun 6, 2017).
Hi,
I'm using 0.4.0 version with different hooks (including one that only prints the token and lets me 60 seconds to modify the DNS myself)
I wanted to use dehydrated in a script and tried to use the
-ooption, but it fails to put the pem files in the specified directory.My user has the correct right for the specified directory (it was created with the script to contain the csr file)
Then I use this command:
./dehydrated -s 'certs/<domain_name>.csr' -d <domain_name> -t dns-01 -k 'hooks/ovh/hook.py' --out 'certs/<domain_name>'But the certificate is printed in
stdoutand the directory remains empty. Is there something i'm doing wrong ?@txr13 commented on GitHub (Jun 6, 2017):
Well, the parameter description for
-sshould give you a hint...Sign a given CSR, output CRT on stdout (advanced usage)The
-oparameter isn't used when you're just signing a CSR. It will only print to stdout.@mrik974 commented on GitHub (Jun 6, 2017):
My bad, indeed I was missing something. Thank you