Skip to content

Rest Api project to perform various user crud operation along with api for sign in auth using jwt tokens

Notifications You must be signed in to change notification settings

Suresh-Kumar-A/sample-user-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project: sample-user-crud

Description:

Rest Api project to perform various user crud operation along with api for sign in auth using jwt tokens


RSA Key Generation Steps (using OpenSSL):

1. Generate RSA Private Key (2048 bits)

+) openssl genrsa -out jwt_privatekey.pem 2048

2. Extract Public Key from Private Key in .pem format | (Optional step)

+) openssl req -new -x509 -key jwt_privatekey.pem -out jwt_publickey509.pem -subj '/CN=JWT'

3. Extract Public Key from Private Key in .der format

+) openssl rsa -outform der -in jwt_privatekey.pem -out jwt_publickey.der -pubout

4. Convert RSA Private key format (.pem to .der)

+) openssl pkcs8 -topk8 -inform PEM -outform DER -in jwt_privatekey.pem -out jwt_privatekey.der -nocrypt

About

Rest Api project to perform various user crud operation along with api for sign in auth using jwt tokens

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages