Solved

selfssl.exe create public/private .pem

Posted on 2012-03-29
2
1,052 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
Comment Utility
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
Comment Utility
thanks
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

10 Experts available now in Live!

Get 1:1 Help Now