Ssl example application.
- Copy
.env.dist
file to.env.
and optionally make configuration changes. - Run
docker-compose up -d
. Be patient it takes some time on first run.
-
Building for production
./gradlew build
-
Update dependencies
./gradlew clean resolveAndLockAll --write-locks
- keytool -genkey -keyalg RSA -keystore keystore.jks -keysize 2048 (sukapizda - keystore, blabla - key)
- keytool -list -keystore keystore.jks
- openssl s_client -connect apiws.alfabank.ru:443 -showcerts
- openssl s_client -showcerts -connect apiws.alfabank.ru:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >mycertfile.pem
- keytool -delete -alias mykey -keystore keystore.jks
- openssl pkcs8 -topk8 -inform PEM -outform PEM -in apidevelopers.key -out apidevelopers.pem -nocrypt