OpenVPNの認証用にCA作業をしているときの話。
# source ./vars
# ./clean-all
# ./build-ca
としたらエラーになって悩んだ。
error on line 88 of /usr/share/doc/openvpn/examples/easy-rsa/openssl.cnf
27714:error:0E065068:configuration file routines:STR_COPY:variable has no value:conf_def.c:629:line 88
###########################################
[ req ]
default_bits = $ENV::$KEY_SIZE  <=ここが88行目
default_keyfile = privkey.pem
distinguished_name = req_distinguished_name
attributes = req_attributes
x509_extensions = v3_ca # The extentions to add to the self signed cert
それで結局./varsをよく見たら、
export KEY_SIZ=2048
~~
Eがない!
消した?自分。

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です