-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi,
my mistake, v3.0.9 does use date for build-x-full. However, if you could also test latest release 3.1.2 that would help. Thanks Richard Sent with Proton Mail secure email. ------- Original Message ------- On Thursday, January 19th, 2023 at 06:17, tincantech via Openvpn-users <openvpn-users@lists.sourceforge.net> wrote: > Hi, > > EasyRSA version 3.0.x 'build-x-full' does not use date. > > You must be using version 3.1.x > > Please check which version you are using. > > Releases are available, please try latest: > https://github.com/OpenVPN/easy-rsa/releases > > If the problem persists then git/master has had a patch > which could impact this directly, please check that too. > > Thanks > Richard > > Sent with Proton Mail secure email. > > > ------- Original Message ------- > On Thursday, January 19th, 2023 at 04:09, Steve Summit via Openvpn-users > openvpn-users@lists.sourceforge.net wrote: > > > > > I've discovered what may be a bug in easyrsa 3.0. When I try to > > create new certificates with build-server-full or build-client-full, > > I get these error messages: > > > > Failed conversion of `'' using format` %b %d %T %Y %Z'' > > date: illegal time format > > usage: date [-jnRu] [-d dst] [-r seconds] [-t west] ... > > > > My specific invocation was > > > > ./easyrsa --pki-dir=pki2 build-client-full test1 nopass > > > > This is on a MacOS system (version 10.13.6, but I don't think > > that matters). > > > > The error seems to be coming from the line > > > > expire_date="$(date -j -f '%b %d %T %Y %Z' "$crt_not_after" +%s)" > > > > in the cert_dates function. But it appears that crt_not_after > > has not been set, presumably because cert_dates was called > > without an argument. > > > > Despite this error, the certificate seems to be created > > successfully. (It looks like the logic that's failing has to do > > with renewals, and might work fine during renewals, and is not > > needed during initial certificate creation.) > > > > Thanks, > > > > Steve Summit > > > > _______________________________________________ > > Openvpn-users mailing list > > Openvpn-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/openvpn-users -----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBQJjyOlaCRBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr kLidAAByuQgAuqqiGDiyMFA7OEpO6i0Emr0vseabNNwtTv+esXjUtgUx7TNq +TeEKTfT+/eRJDnJhthdAJL3egkL0ZRalEvEwvqnXb5q0nj5cdJyapXXtaiA 1qa/LpWVFl/wI50MK0FHRgSESe3gP6L7Sq2lFLvc/zJ3c/tBYrj+nyFQqBd0 UZzqkjuus9fbdo00Kt0GYPm8RvZg7O43u3YKi8EaaWUmiEjWG6+h+eXFCjgf cXEN+zIQpLGg2GoWPVGCVy4hFQdbUyntlT6KVLGpSXoj4zrpjY1B1qXCvK/U HHvazvSBsFEzKYK3h9TfRhe1o1YpUlGIgy0+dEvg0VFNuGf2MGV6Ig== =KDfS -----END PGP SIGNATURE-----
publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys
publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users