John & Cyber Security

My Name is Ebuka John Onyejegbu, am a nice guy, a Developer, cyber security expert and chef. I work in the tech team of a financial Institution, My website is a sandbox to explore new technologies and document what i learn.

July 17, 2021

SSL HELPER

A Batch script to assist you convert between different certificate format

SSL HELPER

📝 SSL HELPER 📝

SSL CONVERTER AND GENERATOR BATCH SCRIPT

ABOUT

created this batch script out of the need to automate my team's SSL certificate generation process. I choose batch because we needed a lightweight solution. so no need to remember all the openssl codes anymore.

Dependencies

This script leverages on openssl binary. Openssl is included in this package. for any reason the script fails to find it in its working directory it will download it before starting provided you have an internet connection and you can reach github.com

This script also leverages on openssl.conf file, the file is particularly important if you intent to use the self certification option, the script will as well fetch this config file from its github's repo if it doesn't find it within its working directory.

openssl.exe | openssl.conf 

Usage

# git clone https://github.com/Johnng007/SSL-HELPER.git

# run SSLHELPER.bat

Features

CONVERTING FROM PEM
     1. PEM to DER.
     2. PEM to P7B.
     3. PEM TO PFX
CONVERTING FROM DER
     4. DER(.CRT .CER .DER) TO PEM.
     5. DER TO CER.
CONVERTING FROM P7B
     6. P7B TO PEM.
     7. P7B TO PFX.
     8. P7B TO CER.
CONVERTING FROM PFX
     9. PFX TO PEM.
CONVERTING FROM CER
    10. CER TO P7B
    11. CER TO PFX
    12. CER TO DER
GENERATE A SELF SIGNED CERTIFICATE
    13. GENERATE SELF SIGNED
GENERATE A SELF SIGNED CERTIFICATE AUTO
    14. GENERATE SELF SIGNED AUTO

Contributing

Pull requests are welcome. For major changes, plea open an issue first to discuss what you would like to change. NOTE: you don't need administrator privileges to run the batch file, even in a domain joined PC.

## License MIT

Project URL

https://github.com/Johnng007/SSL-HELPER

Support:

ebuka



Connect with me:

ebuka john onyejegbu

Your Reaction to this Post?

Currently there are no comments, so be the first!
Fork me on Github