Date: Wed, 10 Nov 2004 03:41:50 -0500 From: Mathieu Isabelle <mathieu.isabelle@gmail.com> To: doc@FreeBSD.org Subject: 14.10.1 Generating Certificates Message-ID: <5809fc19041110004143a922ba@mail.gmail.com>
index | next in thread | raw e-mail
Hello,
While trying to find out a solution to the following problem, someone
suggested me to advise you with the issue.
I tried to generate a ssl key following this instruction in the handbook:
# openssl gendsa -des3 -out \
myca.key 1024
That command generated the following result:
1024: No such file or directory
547:error:02001002:system library:fopen:No such file or
directory:/usr/src/crypto/openssl/crypto/bio/bss_file.c:276:fopen('1024','r')
547:error:20074002:BIO routines:FILE_CTRL:system
lib:/usr/src/crypto/openssl/crypto/bio/bss_file.c:278:
After searching a bit I found out that I had to generate a RSA key
prealably with this command:
openssl dsaparam -rand -genkey -out myRSA.key 1024
Then by modifying the first command:
openssl gendsa -des3 -out myca.key myRSA.key
I was able to generate a key correctly.
I am using FreeBSD 5.2.1-RELEASE.
Mathieu
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5809fc19041110004143a922ba>
