?
Solved

Can not generate and sign new certicate using CYGwin and Opensll

Posted on 2010-08-25
2
Medium Priority
?
2,010 Views
Last Modified: 2013-11-15
I am getting an error message when I try to generate and sign a certificate I follow the instruction from: http://community.spiceworks.com/how_to/show/1469

here the error message I am getting:
administrator@target ~
$ openssl ca -in server.csr
cygwin warning:
  MS-DOS style path detected: C:\OpenSSL\bin\openssl.cfg
  Preferred POSIX equivalent is: /cygdrive/c/OpenSSL/bin/openssl.cfg
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Using configuration from C:\OpenSSL\bin\openssl.cfg
Enter pass phrase for c:/cygwin/etc/ssl//private/cakey.pem:
default is an unsupported message digest type
8508:error:02001002:system library:fopen:No such file or directory:bss_file.c:12
6:fopen('c:/cygwin/etc/ssl//CA/index.txt.attr','rb')
8508:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:129:
8508:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c
:197:

Thank you for your help.
0
Comment
Question by:dbadouraly
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Accepted Solution

by:
Dave Howe earned 2000 total points
ID: 33523263
ok, that should work, although you shouldn't try using windows drive path constructs - the cygwin version is /cygdrive/c/ not c:/

that aside - I seriously wouldn't bother; all the functionality you need is available in a pretty gui tool from http://sourceforge.net/projects/xca which can generate a self-signed certificate or generate a root ca and sign a csr with everything point and click.
0
 

Author Closing Comment

by:dbadouraly
ID: 33532957
Thank you, that was very easy to implement.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This article was originally published on Monitis Blog, you can check it here . If you have responsibility for software in production, I bet you’d like to know more about it. I don’t mean that you’d like an extra peek into the bowels of the sourc…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question