mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[GH-ISSUE #198] Can't connect to server from IOS app when https is enabled #101
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#101
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Sep 24, 2018).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/198
Get "There is a problem connecting to the server"
I am using 1.2.0 docker container with ROCKET_TLS and ROCKET_PORT = 443
@mprasil commented on GitHub (Sep 24, 2018):
Hi can you paste the docker logs here? Just the starting part that prints the configuration used would be helpful. Also can you see any requests in the logs when you try to use the iOS app? Does the Vault interface work for you?
@ghost commented on GitHub (Sep 24, 2018):
Vault web interface works when opening in Chrome desktop but can;t open from ios and ios mobile bitwarden app
my server ip is https://192.168.0.19
https://pastebin.com/raw/AtH6hHwg
@mprasil commented on GitHub (Sep 24, 2018):
It looks like it starts with proper configuration. Are there any requests appearing in the logs when you try to use the iOS app? Do I understand right that you can't even use the Vault interface using Safari on iOS device?
@ghost commented on GitHub (Sep 24, 2018):
There is no requests in logs when trying to access from iOS.
I bet this is a problem with self signed cert on iOS.
"Do I understand right that you can't even use the Vault interface using Safari on iOS device?" Yes, exactly
My cert is:
You can decode it here: https://www.sslshopper.com/certificate-decoder.html
Can you provide proper command to create self signed certificate for my docker container?
@dani-garcia commented on GitHub (Sep 24, 2018):
I'm using bitwarden_rs on iOS and it works for me. I'm running the server directly (without docker), behind my own domain and with let's encrypt certs. Maybe iOS blocks self signed certs?
@ghost commented on GitHub (Sep 24, 2018):
I think there is a problem with self signed certs on iOS, can't generate the proper one.
openssl req -x509 -newkey rsa:2048 -sha256 -nodes -keyout key.key -out cert.crt -subj "/CN=192.168.0.19" -days 3650This command generate cert and key but still cant connect on iOS
@mprasil commented on GitHub (Sep 24, 2018):
Can you add that cert as trusted on your iOS device?
@ghost commented on GitHub (Sep 24, 2018):
I can't. No option to install it when opening from mail
@mprasil commented on GitHub (Sep 24, 2018):
I'm on mobile, so can't really test this, but I wonder if iOS will accept certificate for IP address. Quick googling around suggests, that it might not.
@ghost commented on GitHub (Sep 24, 2018):
Make it works on Safari (need to add port: https://192.168.0.19:443) but still no success with app.
@ghost commented on GitHub (Sep 25, 2018):
I made it works. Need to create CA certificate then server certificate