Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

How to convert PKCS#8-formatted PEM private key to the traditional format?

Succeeded to solve that in that way - the request:

openssl req -configconfigfile.cfg -newkey rsa:2048 -keyout newkey.pem -out newreq.pem 365

Then, I converted it to RSA format:

openssl rsa -in newkey.pem -out newkey.pem

Hope that it will help someone.

Tags:

Openssl

Private Key

Pem

Pkcs#8

Related

AWK: Access captured group from line pattern Is it possible to call unmanaged code using C# reflection from managed code? Passing object to different windows forms Make 2 functions run at the same time How can you explore the managed heap in a .NET application to identify possible memory optimizations? How to use awk to print lines where a field matches a specific string? Get the file path of current application's config file BeautifulSoup: just get inside of a tag, no matter how many enclosing tags there are Javascript - telling setInterval to only fire x amount of times? How to make a GDB breakpoint only break after the point is reached a given number times? What is the right data type for calculations in Java Facebook Graph API - likes returns me an empty set

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy