Hi,

On Wed, Sep 28, 2022 at 11:18:41AM -0400, Bo Berglund wrote:
> <cert>
> -----BEGIN CERTIFICATE-----
> block of characters
> -----END CERTIFICATE-----
> </cert>

This is the client certificate (that the server will validate).

> I don't know what each of these crypto sections does and if they contain some
> expire info...
> Or which section contains the date...

The not-before/not-after dates are encoded int the x509 blob in <cert>.

So, the "grep -A 100" command given will extract "cert plus everything
after it" from the config, and "openssl x509 -in $file -noout -text" 
will decode the certificate for you.

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to