nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-22-2008, 05:30 PM
Senior Member
User
 
Join Date: Sep 2007
OS: Debian
Posts: 112
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 3
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
Reply


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 Off


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 02:02 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

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 37 38