Error On Line 1 Of Openssl.cnf
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software SSL errors, while trying to add a certificate User Name Remember Me? Password Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Page 1 of 2 1 2 > Search this Thread 05-01-2012, 04:15 AM #1 WoAnerges Member Registered: Apr 2012 Posts: 50 Rep: SSL errors, while trying to add a certificate So, I am following this guide, but when I try to execute this command Code: http://dev.antoinesolutions.com/openssl/certificate-authority , I am getting these errors in response Code: # openssl req -config openssl.cnf -new -x509 -extensions v3_ca -keyout private/ca.key -out certs/ca.crt -days 3650 error on line -1 of openssl.cnf 140076597720904:error:02001002:system library:fopen:No such file or directory:bss_file.c:126:fopen('openssl.cnf','rb') 140076597720904:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:129: 140076597720904:error:0E078072:configuration fil
(CSR) file, an error similar to the following might occur:
BIO routines:BIO_new_file:no such file:.\crypto\bio\bss_file .. configuration file routines:DEF_LOAD:no such file:.\crypto\conf\conf_ Basically I was trying to use openssl for windows to http://java-with-shiva.blogspot.com/2013/06/system-libraryfopenno-such-file-or.html create my ssl certificates on Windox Xp machine: While firing the command : C:\certs\windowsOpenSSLCerts\tomcat6-CAS-certs>openssl req -config openssl.cnf -new -x509 -days 3650 -key https://www.tbs-certificates.co.uk/FAQ/en/openssl-windows.html tomcat6CAS-rootCAkey.key -out tomcat6CAS-rootCAcert.crt I got below Error: error on line -1 of openssl.cnf 2588:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\bss_file.c:169:fopen('openssl.cnf','rb') 2588:error:2006D080:BIO routines:BIO_new_file:no such error on file:.\crypto\bio\bss_file.c:172: 2588:error:0E078072:configuration file routines:DEF_LOAD:no such file:.\crypto\conf\conf_def.c:197: As shown in picture below: Problems could be below: 1. check the "openssl.cfg" file location and pass that file location: for example: pass like this to keytool: -config C:\OpenSSL-Win32\bin\openssl.cfg Where "openssl.cfg" should exist at location "C:\OpenSSL-Win32\bin\" or error on line provide the location according to your requirement where you have kept the "openssl.cfg". 2. Check the name of the "openssl.cfg" file. Keep in mind. In Linux environment its named as "openssl.cnf" Where as for Windows its named as "openssl.cfg" So, Check for the file extension. In my case, if you notice carefully, I had the 2nd problem. So changing the -config openssl.cnf to -config openssl.cfg Solved my issue. Posted by Shibaram Sahoo at 5:54 AM Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest Newer Post Older Post Home Subscribe to: Post Comments (Atom) Tags Powered by Blogger Widgets Blog Archive ► 2014 (3) ► May (3) ▼ 2013 (39) ► December (1) ► August (3) ► July (5) ▼ June (25) is invalid; nested exceptio
Menu home FAQ browse the FAQ generate a CSR install a certificate use a certificate manage a certificate facebook twitter google+ linkedin +33-2-7630-5902 commercial offer TBS X509 Symantec Thawte Comodo GlobalSign ChamberSign GeoTrust Certigna Client login Customer accounts Open an account SHA1: Browsers' compatibility SHA256: Browsers' compatibility ECC: Browsers' compatibility CERTIFICATES SSL Standard SSL RGS SSL eIDAS SSL ECC Multiple sites Wildcard Quick and Dirty SSL Client Specific certificates Extended Validation Test certificates PKI Solutions ONLINE SERVICES Server certificates Wizard Client certificates Wizard PKI Wizard CSR creation assistance Co-PiBot : Check your SSL Generator of self-signed certificate Potential profits calculator FAQ » Browse the FAQ » Install an Apache certificate » Install a Microsoft IIS5 or IIS6 certificate » Generate a CSR for Apache » Install a certificate for Exchange 2007 » Why are domain-validated certificates dangerous? » Delivery times: Suppliers' up-to-date situations PARTNERS TBS Certificate Center Who's concerned? Becoming partner They trust us Affiliate network ABOUT US TBS Internet history References Legal information Contact MY ACCOUNT Log in Open an account SEARCH   Certificates Comparison chart SSL EV SSL Standard SSL RGS SSL eIDAS SSL ECC SSL wildcard SSL SAN Quick and Dirty SSL Specific certificates Client certificates Test certificates PKI Trust Seals Our products range TBS X509 Symantec Thawte Comodo GlobalSign ChamberSign GeoTrust Certigna Partners Client login Customer accounts Open an account Support FAQ SHA1: Browsers' compatibility SHA256: Browsers' compatibility ECC: Browsers' compatibility The Lab Focus Elliptic Curve Cryptography TBS INTERNET launches a whole range of ECC SSL certificates. Multi-domains, wildcard, EV, standards... More details Other activities Heartbleed security vulnerability - OpenSSL 1.0.1 -> See here Install OpenSSL on a windows machine You can use OpenSSL on a Windows machine to to proceed some cryptographic operations (generation of a private key, of a CSR, certificate conversion...). Access the official website:http://www.openssl.org/ Then downloa