Solved

Can not generate and sign new certicate using CYGwin and Opensll

Posted on 2010-08-25
2
1,928 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 500 total points
Comment Utility
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
Comment Utility
Thank you, that was very easy to implement.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let’s list some of the technologies that enable smooth teleworking. 
If your app took Google’s lash recently, here are the 5 most likely reasons.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

743 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now