Posted In: Spring, Spring Boot, Spring Security

Example – Spring Boot – Security – Default Basic Authentication – SSL/HTTPS enabled

  1. Create Spring boot project. Refer create-eclipse-spring-boot-application-step-by-step     2. Choose security checkbox or add following maven entry     3. Set up Spring Boot embedded Tomcat to use HTTPS port 8443   3a. Create certificate using following command. Use the same folder as your project E:\workspace_neon>cd Example201721>keytool -genkey -alias tomcat -storetype PKCS12 -keyalg […]

Read More

Tags: , , , , ,

by , on February 17th, 2017

  • Categories