Skip to content

alfabattle/ssl

Repository files navigation

Description

Ssl example application.

Setup local environment

  1. Copy .env.dist file to .env. and optionally make configuration changes.
  2. Run docker-compose up -d. Be patient it takes some time on first run.

Useful commands

Common

  1. Building for production

     ./gradlew build
    
  2. Update dependencies

     ./gradlew clean resolveAndLockAll --write-locks
    

Certificates

  1. keytool -genkey -keyalg RSA -keystore keystore.jks -keysize 2048 (sukapizda - keystore, blabla - key)
  2. keytool -list -keystore keystore.jks
  3. openssl s_client -connect apiws.alfabank.ru:443 -showcerts
  4. openssl s_client -showcerts -connect apiws.alfabank.ru:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >mycertfile.pem
  5. keytool -delete -alias mykey -keystore keystore.jks
  6. openssl pkcs8 -topk8 -inform PEM -outform PEM -in apidevelopers.key -out apidevelopers.pem -nocrypt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages