NetTalk Central

Author Topic: Creating CSR error  (Read 3656 times)

walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Creating CSR error
« on: July 15, 2015, 06:19:09 AM »
Hi,

I´m trying to create a CSR to buy a certificate but i´m getting error from CreateCertificateSigningRequest.bat

--- Create Certificate using Private Key
(Please enter the same password you used earlier when asked to do so)

WARNING: can't open config file: /usr/local/ssl/openssl.cnf
Loading 'screen' into random state - done
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [US]:

I have copied all files openssl.exe and dll and makecertificates folder to my server. and had have tried from bin too.

What i´m doing wrong?

Thanks
Walter - SOFTVALE

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Creating CSR error
« Reply #1 on: July 16, 2015, 12:20:47 AM »
I've seen this once before, but it was a while back, so this is from memory;

Go to a command prompt window. type
SET
this lists all the "Environment variables".
you should see one like;
OPENSSL_CONF=C:\OpenSSL\bin\openssl.cfg

I think this is likely pointing to a folder that doesn't exist anymore. So either remove the variable completely;
SET OPENSSL_CONF=;

or set it to some directory that exists.

then run the batch file and I think it will work.

cheers
Bruce

Vinnie

  • Full Member
  • ***
  • Posts: 183
    • View Profile
    • Email
Re: Creating CSR error
« Reply #2 on: July 16, 2015, 01:20:34 AM »
Yes I had this problem a few weeks ago.

The file supplied is OPENSSL.CONF

but looking for usr\local\ssl\openssl.cnf

I got around this by making folder usr\local\ssl

Copy Openssl.conf to new folder and rename to openssl.cnf.

Make sure you leave the old file there it requires that later.

Cheers

Vinnie


walter.dasilva

  • Sr. Member
  • ****
  • Posts: 314
  • SOFTVALE
    • MSN Messenger - walter@softvale.com.br
    • View Profile
    • SOFTVALE
Re: Creating CSR error
« Reply #3 on: July 16, 2015, 05:56:58 AM »
HI,

Fixing SET OPENSSL_CONF solved the problem.

Thanks
Walter - SOFTVALE