Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Insecure URLs #70

Open
dotsam opened this issue May 10, 2021 · 2 comments
Open

Allow Insecure URLs #70

dotsam opened this issue May 10, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dotsam
Copy link
Contributor

dotsam commented May 10, 2021

At least on Big Sur 11.3.1, App Transport Security doesn't allow access to http URLs by default. I've got some internal tools that don't use TLS, so I've added the plist keys mentioned here to the stub app's Info.plist, which has allowed it to load the insecure URL. You could make this an option at app creation time to add this key to the stub app to allow it to open any insecure URL, or possible provide a user-specified whitelist?

@kofigumbs kofigumbs added the enhancement New feature or request label May 12, 2021
@kofigumbs
Copy link
Owner

Thanks for doing the initial research here. I'll take a look next time I get a chunk of time for Multi updates.

@kofigumbs kofigumbs added the help wanted Extra attention is needed label Jul 26, 2023
@itskaizad
Copy link

itskaizad commented Apr 4, 2024

Seems like the plist fix no longer works. Added the following inside the root dict

<key>NSAppTransportSecurity</key>
<dict>
  <key>NSAllowsArbitraryLoads</key>
  <true/>
</dict>

Even after doing this my Multi app remains a grey box with the following error in the console.
Failed to load resource: The certificate for this server is invalid. You might be connecting to a server that is pretending to be “localhost” which could put your confidential information at risk.


My Multi app config is as follows:

{
  "tabs": [
    {
      "title": "VVRP",
      "url": "https://localhost:8443/client.html?deviceId=cvd-1"
    }
  ],
  "openNewWindowsWith": "com.microsoft.edgemac",
  "terminateWithLastWindow": true
}

Running on an M2 Mac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants