Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > Internet Security

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2007, 06:14 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default ssl - Public Certificates - Private Keys - .pem

Yes the Yahoo loving argumentor is back with his begging bowl out looking for help.

Right, I need to create .pem files for a public certificate and a private key.

How on gods green earth do you do that?

I have a dedicated ssl certificate.

Anyone

Scream
Reply With Quote
  #2 (permalink)  
Old 08-24-2007, 10:52 PM
new member
 
Join Date: Aug 2007
Posts: 3
Default Do that with Openssl command

Greetings,

Thats part of openssl, like if you want to generate that file then you can do that by firing few openssl command there on your server like...

#openssl genrsa -out File.pem 1024

That will create the file file.pem with 1024 bits encryption. This file actually have both the private and public keys, so you should extract the public one from this file:

#openssl rsa -in File.pem -out public.pem -outform PEM -pubout

You'll now have public.pem containing just your public key, you can freely share this with 3rd parties.

Google it for few more openssl command or you can have that from its man page also.

Cheers.!!
__________________
Regards,
Jason.M.
Http://www.webhosting.uk.com/

Last edited by Jason_M; 08-24-2007 at 10:57 PM.
Reply With Quote
  #3 (permalink)  
Old 08-25-2007, 02:36 PM
Junior Member
 
Join Date: Aug 2007
Posts: 14
Default

Quote:
Originally Posted by Jason_M View Post
Greetings,

Thats part of openssl, like if you want to generate that file then you can do that by firing few openssl command there on your server like...

#openssl genrsa -out File.pem 1024

That will create the file file.pem with 1024 bits encryption. This file actually have both the private and public keys, so you should extract the public one from this file:

#openssl rsa -in File.pem -out public.pem -outform PEM -pubout

You'll now have public.pem containing just your public key, you can freely share this with 3rd parties.

Google it for few more openssl command or you can have that from its man page also.

Cheers.!!
where would i enter these commands. cpanel?
Reply With Quote
  #4 (permalink)  
Old 08-25-2007, 07:44 PM
new member
 
Join Date: Aug 2007
Posts: 3
Default

Quote:
Originally Posted by screamager123 View Post
where would i enter these commands. cpanel?
You need to login to server (from putty) and fire those command on server.

If you have cpanel / WHM control panel then you can create directly the private and public key from http://IP/whm >> SSL/TLS >> "Generate a SSL Certificate and Signing Request" rather than creating.pem file
__________________
Regards,
Jason.M.
Http://www.webhosting.uk.com/
Reply With Quote
Reply

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:35 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum