You are not logged in.

#1 2015-12-22 10:07:22

Torxed
Member
Registered: 2013-01-10
Posts: 203

[s]openssl - configuration file routine:STR_COPY:variable has no value

Hi.

As I can't get out which file this is being generated from, I have no idea how to grab the variable that isn't set.
But the error resembles an old issue where a variable wasn't correctly set in the default config or sourced variables file.

I do have a default config under /etc/ssl/openssl.cnf and it's the default packaged with the openssl package.

Here's the full output:

[Torxed@Daylight ipsec.d]$ sudo openssl pkcs12 -export -inkey private/testKey.pem --in certs/testCert.pem -name "My own VPN client certificate" -certfile cacerts/rootCert.pem -caname "StrongSwan Root CA" -out test.p12

140093433759384:error:0E065068:configuration file routines:STR_COPY:variable has no value:conf_def.c:584:line 167

Normally SSL will throw you the file that generates the error, so I'm kinda lost here.

Last edited by Torxed (2015-12-29 20:02:56)

Offline

#2 2015-12-29 20:02:39

Torxed
Member
Registered: 2013-01-10
Posts: 203

Re: [s]openssl - configuration file routine:STR_COPY:variable has no value

Quite simple really.

`/etc/ssl/openssl.cnf` had a minor configuration issue.
Apparently openssl had updated requiring additional fields but since the package manager respects personal configurations it had stored another config file as `.backup` along side of the configuration used.

Replaced my config with a newer default, and works.

Offline

#3 2015-12-29 20:09:44

tyrannis
Member
Registered: 2015-11-06
Posts: 94

Re: [s]openssl - configuration file routine:STR_COPY:variable has no value

If the issue is solved please include [SOLVED] in the title of the thread, I see that the title is long so feel free to shrink the title as necessary to compensate.

Offline

Board footer

Powered by FluxBB