-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

wsBzBAEBCAAnBQJjyOBgCRBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr
kLidAADe8wf9FETmFF6pvw24mILaNkGWo4XFFiMQHQ4R2xs/Psg1ABhm4Wr2
7/QGGGSmbWJ/R55t4CuIIdSmC0nJPsYoM7nncAclJ/FFAPUEn0jPLbtpA8M6
cWt8Ahj9wH+jjWf0FVSlqsGOPCoaGhavpTI3YJnBm3yfkPp11Zwx5lcrEKvQ
Qrpqjazu5Thtf23TIYiJHiSzl7kDWTblFcrB2kuhwh+y443V3c7bE5QwN2R9
X1sdJ4KwAYXEwJHpwFBBx3H6Lm3D8QA5Nxf4IcV6ySamKlqdLwo3c1juigWg
EIgS2MEnY+7vN9vE2JchYGBtCb62xJqrPned5PDKH5Xj04p4+RDL+A==
=/HxR
-----END PGP SIGNATURE-----

Attachment: publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys

Attachment: 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

Reply via email to