?
Solved

Can not generate and sign new certicate using CYGwin and Opensll

Posted on 2010-08-25
2
Medium Priority
?
2,060 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
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

807 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