Skip to content
sneppets

sneppets

  • Privacy
Generate public key and private key with OpenSSL in Windows 10

How to convert .pem file to .key file ?

September 8, 2020September 9, 2020 Editorial StaffLeave a Comment on How to convert .pem file to .key file ?

This tutorial guides you on how to convert .pem file to .key file. I had generated keypair using OpenSSL instructions. It resulted in generating keypair in .pem file format. If you would like to convert .pem format to .key format then… Read More!

Java, util java, key, openssl, pem, ssl
Generate public key and private key with OpenSSL in Windows 10

Java: Convert String to RSA Public Key

September 8, 2020August 27, 2024 Editorial Staff1 Comment on Java: Convert String to RSA Public Key

This tutorial guides you on how to convert string to RSA public key. I have generated public key and private key .pem files using OpenSSL using this tutorial. Let’s see how to read key string from public.pem file and convert… Read More!

Java, util encryption, java, openssl, public-key, string-key
Create JWT Token and Sign with RSA Private Key

Create JWT Token and Sign with RSA Private Key

September 7, 2020September 7, 2020 Editorial Staff1 Comment on Create JWT Token and Sign with RSA Private Key

This tutorial guides you on how to create JWT token and sign with RSA private key. JWT (JSON Web Token) is an encoded representation of a JSON object. JWTs are used in authentication/ authorization mechanisms.

Java, util encryption, java, jwt, jwt-token, rsa, signing
Generate public key and private key with OpenSSL in Windows 10

Read RSA Private Key Java: algid parse error, not a sequence

September 5, 2020 Editorial StaffLeave a Comment on Read RSA Private Key Java: algid parse error, not a sequence

This tutorial guides you on how to resolve Error InvalidKeySpecException : algid parse error, not a sequence while reading pem to get RSA private key in Java.

Java, util encryption, java, openssl, private-key, rsa
Generate public key and private key with OpenSSL in Windows 10

How to read .pem file to get public and private keys ?

September 4, 2020September 7, 2020 Editorial StaffLeave a Comment on How to read .pem file to get public and private keys ?

This tutorial will guide you on how to read .pem file to get public and private keys. Let’s see how to generate .pem key files using openssl commands and how to write java code to read .pem file and get… Read More!

Java, util java, key, openssl, pem, pkcs#1, pkcs#8

Posts navigation

Older posts
Newer posts
Copyright © 2018 Sneppets. All Rights Reserved