Wednesday, 7 June 2017

Generate Key Pair(pem files) using angularjs

I have to create Key pair using openssl where the technology stack is :-

  • angular js
  • typescript (automatically convert the typescript code to javascript)
  • bootstrap
  • node js

Webpage will look like

  • one input text box and one submit button
  • after clicking on submit button it should generate the KeyPair and return back to the customer.

trying to implement the fuctionality of this command

openssl req -x509 -newkey rsa:2048 -keyout service-priv-key.pem -out service-public-cert.pem -nodes -days 3650 -subj "/CN=service-name/OU=someservice/DC=some/DC=com"

Any suggestion will be appriciated. Thanks in advance.



via Sumit Sahu

No comments:

Post a Comment