Solved

selfssl.exe create public/private .pem

Posted on 2012-03-29
2
1,062 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Review of a VPN cert policy 4 50
IIS on Server 2012 R2 Datacenter 5 82
Create link to folder for use with apache. 7 75
Add a loading gif while php runs server side 15 64
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

762 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