Solved

selfssl.exe create public/private .pem

Posted on 2012-03-29
2
1,054 Views
Last Modified: 2012-04-06
Hi All,

I want to create a base64 .pem public and private hash using selfssl.exe
0
Comment
Question by:detox1978
2 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 37794514
That is not possible with SELFSSL. You will need to use OpenSSL for windows.

selfssl /?
SELFSSL [/T] [/N:cn] [/K:key size] [/S:site id] [/P:port]
 /T Adds the self-signed certificate to “Trusted Certificates”  list.  
/N:cn Specifies the common name of the certificate. The computer name is used if not specified.
 /K:key size Specifies the key length. Default is 1024.
 /V:validity days Specifies the validity of the certificate. Default is 7 days.
 /S:site id Specifies the id of the site. Default is 1 (Default Site).
 /P:port Specifies the SSL port. Default is 443.
 /Q Quiet mode. You will not be prompted when SSL settings are overwritten.

 The default behaviour is equivalent with:
 selfssl.exe /N:CN=LAP4015 /K:1024 /V:7 /S:1 /P:443

For example;

openssl genrsa -out yout_private_key.pem 1024
openssl rsa -in yout_private_key.pem -out public_key.pem -outform PEM -pubout

NOTE: openssl private keys contain pubic keys too. The second command is to just extract it.


Cheers,
Hades666
0
 
LVL 2

Author Closing Comment

by:detox1978
ID: 37817656
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now