Dealing with App Transport Security on MacOS [message #1800671] |
Fri, 04 January 2019 15:23  |
Eclipse User |
|
|
|
Im running a maven based app that uses SWT to launch a browser. When navigating to a non-secure site i get the following error:
Quote:App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
I understand that when deploying mac apps that the Info.plist can be used to avoid this, however that is not my use case. I just want to run the app from the command line.
I tried modifying the openjdk Info.plist to include
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
but appeared to have no effect.
|
|
|
|
Powered by
FUDForum. Page generated in 0.08792 seconds