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

Is it possible to specify which SSL certs to accept? (Or to only accept certs from recognized public CAs?) #188

Open
billyJoePiano opened this issue Jul 5, 2022 · 2 comments

Comments

@billyJoePiano
Copy link

Issue: It seems that the client will accept any self-signed cert since the WebMessage server by default is using one.

My current setup: I'm using an nginx reverse proxy with a valid public cert (via Let's Encrypt) to serve the WebMessage API, even on my local network. The jailbroken iPhone is directly tethered to this server and can only be accessed through it (server also functions as the router/gateway for the iPhone to the outside)

Solution: I'd like to configure the client to only accept a valid SSL cert. Of course, doing this also requires that the server is reached by domain name rather than IP (which seems to be working fine on both my Windows and Linux clients) so the cert could be compared against that domain name to ensure it matches.

Offer/Request: I'm fairly experienced in JS, though mostly in webpage and some Node, and wouldn't mind contributing to (or making a custom tweak to) the client source code myself. If you could just point me to the section that deals with SSL connections to the server, that would be very helpful! I've been trying to find the relevant files in the repo, but can't seem to locate them. I've never worked with Vue before, but I tend to pick up new languages/platforms pretty quickly.

Thanks!

@billyJoePiano
Copy link
Author

p.s.

When installing all the dependencies with yarn, I am getting an error message that the vue-lazy-image module cannot be found. I've already reached out to the (former?) maintainer of this package to find out if there's a way to get it. But it would seem it is no longer available???

@ersan
Copy link

ersan commented Jul 18, 2022

p.s.

When installing all the dependencies with yarn, I am getting an error message that the vue-lazy-image module cannot be found. I've already reached out to the (former?) maintainer of this package to find out if there's a way to get it. But it would seem it is no longer available???

If you go into the yarn.lock file and change the URL for vue-lazy-image from https://registry.npmjs.org to https://registry.npmmirror.com it will fix the dependency. I still had a terrible time trying to build this project for production though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants