application-tls.yml 1.0 KB

12345678910111213141516171819
  1. # ===================================================================
  2. # Activate this profile to enable TLS and HTTP/2.
  3. #
  4. # JHipster has generated a self-signed certificate, which will be used to encrypt traffic.
  5. # As your browser will not understand this certificate, you will need to import it.
  6. #
  7. # Another (easiest) solution with Chrome is to enable the "allow-insecure-localhost" flag
  8. # at chrome://flags/#allow-insecure-localhost
  9. # ===================================================================
  10. server:
  11. ssl:
  12. key-store: classpath:config/tls/keystore.p12
  13. key-store-password: password
  14. key-store-type: PKCS12
  15. key-alias: selfsigned
  16. ciphers: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
  17. enabled-protocols: TLSv1.2
  18. http2:
  19. enabled: true