the App Transport Security policy requires the use of a secure connection for Srping boot development on Macbook pro

Hello. I am developing spring framework on my current computer, Macbook pro, first time. When I run my project, it is giving error/warning as follows:

http://localhost:10624/spring-mvc-demo/

Page load failed with error: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.

I could not find out a useful resource to solve this problem. It appears to be not java, nor spring framework problem.

I am using javaSE-11. spring framework 5.3.8.

I appreciate all help you could provide.
Best regards.

I could not find out a useful resource to solve this problem. It appears to be not java, nor spring framework problem.

I agree. You can add a local TLS certificate to your Spring project, which is something you will want to research on your own. Another option for local testing only would be to review this document: Fine-tune your App Transport Security settings.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
the App Transport Security policy requires the use of a secure connection for Srping boot development on Macbook pro
 
 
Q