Error On Line 150 Of Openssl.cnf
Defect (fixed) Build CA is broken in Windows on version 2.2 release Reported by: mvuong Owned by: mattock Priority: minor Milestone: release 2.2.1 Component: Certificates Version: 2.2.0 Severity: Not set (if unsure, select this one) Keywords: install Cc: Description From Windows Command window, I did the following: init-config - there is an error because "openssl.cnf.sample" is missing from 2.2 install package but since openssl.cnf existed so it still worked. vars - after editing it of course clean-all build-ca.bat gives: C:\Program Files\OpenVPN\easy-rsa>build-ca.bat WARNING: can't open config file: c:\openssl/ssl/openssl.cnf error on line 150 of openssl.cnf 3940:error:0E065068:configuration file routines:STR_COPY:variable has no value:. \crypto\conf\conf_def.c:618:line 150 Oldest first Newest first Threaded Comments only Change History (7) comment:1 Changed 5 years ago by dazo Keywords install added Milestone release 2.2 deleted Owner set to mattock Priority changed from major to minor Status changed from new to assigned Version changed from 2.2-beta / 2.2-RC to 2.2.0 We should probably copy in the easy-rsa/2.0/openssl.cnf into the Windows package when wrapping it all together. Also consider if we should do the copy of openssl.cnf.sample to openssl.cnf in init-config. Seems like a rather pointless operation. comment:2 Changed 5 years ago by dazo Milestone set to release 2.2.1 comment:3 Changed 5 years ago by mvuong openssl.cnf in version 2.2 for Windows contains two entries that fixed the error below when remote-cert-tls server is used in the client configuration file: ERROR: "OpenVPN: TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed" If you decide to copy 2.0 version of openssl.cnf over, please don't loss these two entries below under the [ server ] : extendedKeyUsage=serverAuth keyUsage = digitalSignature, keyEncipherment Thanks. comment:4 Changed 5 years ago by samuli Dazo: agreed, it's pointless to move stuff around. Mvuong: I'm fixing this bug for upcoming 2.2.1 release. Could you replace the openssl.cnf with this one and see what happens. It seemed to work fine in my limited testing. comment:5 Changed 5 years ago by dazo Resolution set to fixed Status changed from assigned to closed ACK. I have applied the following patches: commit 663860ad04dd4190fddbee63e724d3fdceafd937 (master) commit 6989cbde616a00380acf3a390959987
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a https://community.openvpn.net/openvpn/ticket/125 minute: Sign up OpenSSL and error in reading openssl.conf file up vote 71 down vote favorite 26 I am running windows xp 32bit I just downloaded Openssl from the following URL and installed it. http://www.slproweb.com/products/Win32OpenSSL.html and then i tried to create a self signed certificate by using the following command openssl req -x509 -days 365 -newkey rsa:1024 -keyout hostkey.pem -nodes -out http://stackoverflow.com/questions/7360602/openssl-and-error-in-reading-openssl-conf-file hostcert.pem then it started giving the following error Unable to load config info from /usr/local/ssl/openssl.cnf Then after googling sometime i changed the above command to openssl req -config C:\OpenSSL\bin\openssl.conf -x509 -days 365 -newkey rsa:1024 -keyout hostkey.pem -nodes -out hostcert.pem But now i get the following error in the command prompt error on line -1 of C:\OpenSSL\bin\openssl.conf 4220:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\bss_file.c:126:fopen('C:\OpenSSL\bin\openssl.conf','rb') 4220:error:2006D080:BIO routines:BIO_new_file:no such file:.\crypto\bio\bss_file.c:129: 4220:error:0E078072:configuration file routines:DEF_LOAD:no such file:.\crypto\conf\conf_def.c:197: Please help. Thanks in advance. windows configuration openssl environment-variables share|improve this question edited Mar 29 at 10:57 jww 35.4k21112224 asked Sep 9 '11 at 10:55 Sreeram 1,37242143 2 check exact filename: openssl.conf ---> openssl.cnf –Mark Oct 15 '14 at 22:33 1 the file extension on Windows is now .cfg. Also ensure that the file path specified (on the command line or in the environment variable OPENSSL_CONF) is not inside quotes. –tatx Aug 12 '15 at 9:08 add a comment| 11 Answers 11 active oldest votes up vote 93 down vote On Windows you can also set the environment property OPENSSL_CONF. For example from the commandline you can type: set OPENSSL_CON
Date: Tue, 21 Oct 2014 05:27:02 UTC Severity: normal Found in version openvpn/2.2.1-8+deb7u2 Reply or subscribe to this https://bugs.debian.org/766133 bug. Toggle useless messagesView this report as an mbox folder, http://www.telecom-cafe.com/forum/archiver/?tid-5980.html status mbox, maintainer mbox Report forwarded to debian-bugs-dist@lists.debian.org, Alberto Gonzalez Iniesta
編輯 [/i] 大家可以参考 [url]http://openvpn.net/index.php/open-source/documentation/howto.html#pki[/url] [attach]2930[/attach] Other information: [url]http://openvpn.net/index.php/open-source/documentation/miscellaneous/77-rsa-key-management.html[/url] [url]http://wl500g.info/showthread.php?5495-HowTo-install-OpenVPN-server-with-multiple-clients[/url]角色 發表於 2013-11-14 22:37 [i=s] 本帖最後由 角色 於 2013-11-15 00:49 編輯 [/i] The following website provides a very useful source to generate keys and certificates for OpenVPN operations. [url]http://ubuntuguide.org/wiki/OpenVPN_server[/url] [url]http://forum.synology.com/wiki/index.php/How_to_use_your_own_certificates_for_connecting[/url] [url]https://help.ubuntu.com/community/OpenVPN[/url] [url]https://help.ubuntu.com/12.04/serverguide/openvpn.html[/url] [url]http://www.packtpub.com/article/setting-up-openvpn-with-x509-certificates[/url] [url]https://wiki.debian.org/OpenVPN[/url] [url]http://wiki.openwrt.org/inbox/vpn.howto[/url] [url]http://www.ciscopress.com/articles/article.asp?p=605499&seqNum=2[/url] [url]http://www.dd-wrt.com/wiki/index.php/OpenVPN[/url] [url]http://www.linux-faqs.info/vpn/how-to-setup-an-openvpn-server[/url] [url]http://openmaniak.com/openvpn_pki.php[/url] [url]http://www.thegeekstuff.com/2013/09/openvpn-setup/[/url] [url]http://www.digitalboundary.net/wp/?p=236[/url] Raspberry Pi [url]http://raspberrypihelp.net/tutorials/1-openvpn-server-tutorial[/url]角色 發表於 2013-11-15 00:31 [i=s] 本帖最後由 角色 於 2013-11-15 21:17 編輯 [/i] Member contribution on setting up certificates and keys for OpenVPN connections. [url]http://www.hkepc.com/forum/viewthread.php?tid=1774976[/url]Skypeus 發表於 2013-12-14 10:59 C:\Program Files\OpenVPN\easy-rsa>build-ca.bat error on line 150 of openssl.cnf 912:error:0E065068:configuration file routines:STR_COPY:variable has no value:.\ crypto\conf\conf_def.c:618:line 150 C:\Program Files\OpenVPN\easy-rsa>build-ca.bat error on line 150 of openssl.cnf 784:error:0E065068:configuration file routines:STR_COPY:variable has no value:.\ crypto\conf\conf_de