Encryption and Decryption with the help of Certificate public Private key

283 views Asked by At

I want to create certificate with public and private key. Then I want to extract public key from it and with the help of public key I want to encrypt data.

On the receiver side I want to decrypt data.

How can i create required certificate? Sample code for encryption and decryption.

1

There are 1 answers

1
Rana On

You can use OpenSSL for creating a certificate with public and private keys.

Using that certificate you can generate the public from it.

The following video series will guide you in that process

https://www.youtube.com/watch?v=1xtBkukWiek