Skip to content

Instantly share code, notes, and snippets.

@brunopk
Last active May 14, 2020 23:44
Show Gist options
  • Save brunopk/c4df3196ea9d5d83218bd7ec634b0a6f to your computer and use it in GitHub Desktop.
Save brunopk/c4df3196ea9d5d83218bd7ec634b0a6f to your computer and use it in GitHub Desktop.
Usar HTTPS con Spring Boot 2

SSL/TLS es gestionado por Spring Boot con su servidor Tomcat embebido. Para publicar servicios a través de HTTPS hacer lo siguiente:

  1. Generar keystore (o importar claves desde archivo crt en keystore).
  2. Agregar las configuraciones en el archivo .properties que usa Spring Boot (por defecto src/main/resources/application.properties).

Mas info: https://howtodoinjava.com/spring-boot/spring-boot-ssl-https-example/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment