nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Failure generating SSL Cert

This is a discussion on Failure generating SSL Cert within the Mail Servers forums, part of the Mastering Servers category; Hi folks, Archlinux 86_64 2007-08-2 On running $ sudo openssl rsa -in server.key -out server.key Code: Error opening Private Key ...


Go Back   nixCraft Linux Forum > Mastering Servers > Mail Servers

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-22-2008, 05:30 PM
Member
User
 
Join Date: Sep 2007
My distro: Debian
Posts: 81
Rep Power: 1
satimis is on a distinguished road
Default Failure generating SSL Cert

Hi folks,


Archlinux 86_64 2007-08-2


On running
$ sudo openssl rsa -in server.key -out server.key
Code:
Error opening Private Key server.key
6879:error:02001002:system library:fopen:No such file or directory:bss_file.c:352:fopen('server.key','r')
6879:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:354:
unable to load Private Key
Please advise where shall I check and how to fix this problem. Thanks


On runniing;
Code:
$ sudo openssl req -new -x509 -newkey rsa:1024 -days 365 -keyout server,key -out server.crt
/etc/ssl/certs/

What FQDN shall I use on "Common Name"?


On googling I found;
TIP Setup Your FQDN
TIP Setup Your FQDN - Gentoo Linux Wiki


Do I need to do the same on Arch? TIA


B.R.
satimis
Reply With Quote
Sponsored Links
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
A script for generating cPanel backup and send as email vivekv Shell scripting 0 10-20-2007 08:28 PM
Printer driver installation failure LRC Linux hardware 1 06-07-2007 02:24 AM


All times are GMT +5.5. The time now is 01:52 AM.


Powered by vBulletin® Version 3.7.2 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36