mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
DEF_LOAD_BIO:missing equal sign:conf_def.c:346 #106
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 @nilthacker on GitHub (May 26, 2016).
I'm trying to generate some certificates on AWS with Ubuntu 14.04.4. Whenever I run
./letsencrypt.sh -cI always get this error. I've checked for any missing equal signs in the openssl config file and it appears to be valid.output:
Generating signing request... error on line 6 of /tmp/letsencrypt.sh-s29jat 139960430315168:error:0E079065:configuration file routines:DEF_LOAD_BIO:missing equal sign:conf_def.c:346:line 6contents of /tmp/letsencrypt.sh-s29jat:
#!/bin/sh LD_LIBRARY_PATH="/opt/bitnami/common/lib:$LD_LIBRARY_PATH" DYLD_LIBRARY_PATH="/opt/bitnami/common/lib:$DYLD_LIBRARY_PATH" OPENSSL_CONF="/opt/bitnami/common/openssl/openssl.cnf" OPENSSL_ENGINES="/opt/bitnami/common/lib/engines" export LD_LIBRARY_PATH export DYLD_LIBRARY_PATH export OPENSSL_CONF export OPENSSL_ENGINES exec /opt/bitnami/common/bin/openssl.bin "$@" [SAN] subjectAltName=DNS:testdomain.com, DNS:www.testdomain.com@nilthacker commented on GitHub (May 26, 2016):
Here's the output of
./letsencrypt.sh -e:letsencrypt.sh configuration
INFO: Using main config file /opt/bitnami/apache2/htdocs/letsencrypt/config
declare -- CA="https://acme-staging.api.letsencrypt.org/directory"
declare -- LICENSE="https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf"
declare -- CHALLENGETYPE="http-01"
declare -- DOMAINS_TXT="/opt/bitnami/apache2/htdocs/letsencrypt/domains.txt"
declare -- HOOK=""
declare -- HOOK_CHAIN="no"
declare -- RENEW_DAYS="30"
declare -- ACCOUNT_KEY="/opt/bitnami/apache2/htdocs/letsencrypt/private_key.pem"
declare -- ACCOUNT_KEY_JSON="/opt/bitnami/apache2/htdocs/letsencrypt/private_key.json"
declare -- KEYSIZE="4096"
declare -- WELLKNOWN="/opt/bitnami/apache2/htdocs/letsencrypt/.well-known/acme-challenge"
declare -- PRIVATE_KEY_RENEW="yes"
declare -- OPENSSL_CNF="/opt/bitnami/common/bin/openssl"
declare -- CONTACT_EMAIL="nil@nil.gs"
declare -- LOCKFILE="/opt/bitnami/apache2/htdocs/letsencrypt/lock"
@lukas2511 commented on GitHub (May 26, 2016):
OPENSSL_CNF should not be the path to your openssl binary / wrapper, it should be the path to a base openssl config. Maybe you just had a typo since your wrapper seems to refer to
/opt/bitnami/common/openssl/openssl.cnfwhile you used/opt/bitnami/common/bin/opensslin the config.@nilthacker commented on GitHub (May 26, 2016):
I set
OPENSSL_CNFto/opt/bitnami/common/bin/openssl/openssl.cnfin theconfigfile and now see this error:cat: /opt/bitnami/common/bin/openssl/openssl.cnf: Not a directoryWhich leads me to believe that it should be the directly, shouldn't it?
@nilthacker commented on GitHub (May 26, 2016):
Here's the entire config file:
@lukas2511 commented on GitHub (May 26, 2016):
Set
/opt/bitnami/common/openssl/openssl.cnf@nilthacker commented on GitHub (May 26, 2016):
That fixed that error, I didn't see the extra
/bin/in there. Thanks for the help.