- CREATE USER 'ishare'@'localhost' IDENTIFIED BY 'P@$s123';
- GRANT ALL PRIVILEGES ON ishare_db . * TO 'ishare'@'localhost';
- FLUSH PRIVILEGES;
+) openssl genrsa -out ishare_jwt_privatekey.pem 2048
+) openssl req -new -x509 -key ishare_jwt_privatekey.pem -out ishare_jwt_publickey509.pem -subj '/CN=localhost'
+) openssl rsa -outform der -in ishare_jwt_privatekey.pem -out ishare_jwt_publickey.der -pubout
+) openssl pkcs8 -topk8 -inform PEM -outform DER -in ishare_jwt_privatekey.pem -out ishare_jwt_privatekey.der -nocrypt
Refer this link https://projectlombok.org/setup/overview