Skip to content

Anquanssl opensource family's first member, Convert between PEM(.key + .crt/.pem) and JavaKeyStore(.jks) with pure typescript(without keytool cli)

Notifications You must be signed in to change notification settings

anquanssl/pem2jks.ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pem2jks.ts

Usage

import Jks from 'pem2jks.ts';

// Jks password (Not pem key's)
const password = '12345678';

// Now, `jks` is the buffer of JavaKeyStore
const jks = await Jks.fromPEM(cert, key).getJKS(0x02, passsword);

About

Anquanssl opensource family's first member, Convert between PEM(.key + .crt/.pem) and JavaKeyStore(.jks) with pure typescript(without keytool cli)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages