Solved

Can not generate and sign new certicate using CYGwin and Opensll

Posted on 2010-08-25
2
1,980 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 500 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Understanding ping command in Ubuntu 5 63
Install network Solutions's SSL certificate on SBS 2011 2 35
Secure Website 5 38
how to write and save a unix script 12 32
Let’s list some of the technologies that enable smooth teleworking. 
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…
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.

739 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