Solved

Can not generate and sign new certicate using CYGwin and Opensll

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

832 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