sudo apt update
sudo apt install software-properties-common -y
1. Convert our ".jks" file to ".p12" (PKCS12 key store format): | |
keytool -importkeystore -srckeystore oldkeystore.jks -destkeystore newkeystore.p12 -deststoretype PKCS12 | |
1.1. List new keystore file contents: | |
keytool -deststoretype PKCS12 -keystore newkeystore.p12 -list | |
2. Extract pem (certificate) from ".p12" keysotre file: | |
#### Create a feature branch | |
git checkout -b <branch-name> | |
#### Create a remote branch for the feature branch | |
git push origin refs/heads/<branch-name> | |
#### Delete a remote branch | |
git push origin :refs/heads/<branch-name> |