您的位置:首页 > 运维架构

WARNING: CAN’T OPEN CONFIG FILE: /USR/LOCAL/SSL/OPENSSL.CNF

2015-07-04 10:38 435 查看


WARNING: CAN’T OPEN CONFIG FILE: /USR/LOCAL/SSL/OPENSSL.CNF

by jaspreet chahal on september 27, 2011 37
comments





X
Welcome Mate!

Please give this post a +1 if you like it

Also If you find this post useful, you might want to subscribe to the RSS feed for updates on this topic.

Cheers!

Tweet

1

inShare

This error occurs mainly on windows when you are using openssl package,

The reason is that openssl failed to locate the openssl.cnf file

I will recommend that you do the following (one windows only)

Open your command prompt as Administrator (few openssl commands opens in random state), thus when openssl tries to write stuff on your disk it fails. There could be another workaround
but i am not aware of that.
Now before you run any openssl command type the following.

1

set
OPENSSL_CONF=c:\[PATH
TO
YOUR
OPENSSL
DIRECTORY]\bin\openssl.cfg

after you did the above now you are good to go with your openssl stuff.

Remember that everytime you open a command prompt you have to run the above command unless you set this as your environment variable.

Read more: http://jaspreetchahal.org/warning-cant-open-config-file-usrlocalsslopenssl-cnf/#ixzz3et1eVVDq
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: