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

Djunzu djunzu at proton.me
Wed Oct 12 16:22:17 PDT 2022


Oh man!! It works.

I tried double quotes and single quotes. But did not thought in trying no quotes at all.
The error seems strange to me. But ok.

Thanks Dimitri!


------- Original Message -------
On Wednesday, October 12th, 2022 at 1:59 PM, Dimitri Papadopoulos <dimitri.papadopoulos at cea.fr> wrote:


> 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