smartcard + configfile: how to avoid error "File name too long"?

Dimitri Papadopoulos dimitri.papadopoulos at cea.fr
Wed Oct 12 09:59:09 PDT 2022


Hi,

What if you remove the double quotes?

Use:
certificate = pkcs11:model=...
instead of:
certificate = "pkcs11:model=...

Le 12/10/2022 à 16:38, Djunzu a écrit :
> [...]     
> But when I try this configfile:
> (All arguments are exactly the same!)
> 
>      # cat vpn.config
>      authgroup = <my_gateway>
>      protocol = gp
>      servercert = <...>
>      disable-ipv6
>      cafile = <file.pem>
>      server = <my_server_url>
>      certificate = "pkcs11:model=XXXXXXXXXXXXXXXX;manufacturer=A.E.T.%20Europe%20B.V.;serial=XXXXXXXXXXXXXXXX;token=XXXXXXXXX;id=<...>;object=<...>;type=cert"
> [...]     
> _______________________________________________
> openconnect-devel mailing list
> openconnect-devel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/openconnect-devel



More information about the openconnect-devel mailing list