ENTESB-7876 doesn't work on a Spring Boot application with the following configuration:
public static void main(String[] args) { System.setProperty("hawtio.http.strictTransportSecurity", "max-age=31536000; includeSubDomains; preload"); System.setProperty("hawtio.http.publicKeyPins", "pin-sha256=\"...\"; max-age=5184000; includeSubDomains"); SpringApplication.run(YourSpringBootApplication.class, args); }