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

Better document WebDAV test set up #266

Open
gitonthescene opened this issue May 6, 2020 · 0 comments
Open

Better document WebDAV test set up #266

gitonthescene opened this issue May 6, 2020 · 0 comments
Labels
development process Categorizes issue or PR as related to fixing or improving the development process

Comments

@gitonthescene
Copy link

gitonthescene commented May 6, 2020

I got this working using the docker image specified in Scripts/Resources/WebDAV-Server-Start.sh. I created certs using my own root certificate for localhost ( so as not to fiddle with /etc/hosts ). I had to export the certs created from Utilities/Keychain Access.app to be able to use them for the docker image.

[ Note: You may want to mount /var/www into the docker image if you want your files to survive restart. ]

At this point you can test the docker image with Finder -> Go -> Connect To Server using the port/user/pass word you set up for the image.

From there the only thing left is to install the root certificate on the iOS simulator. The drag-and-drop advice didn't work for me (I'm on XCode 11/Catalina) so I had to explicitly grab the file using Safari in the simulator (similar to the non-simulator advice found in the previous link). Using the url file:///path/to/exported/root/certificate.cer worked for me.

I simply agreed to install the profile and then went to Settings -> General -> About -> Certificate Trust Settings to make sure that trust was enabled. (The cert itself should be available in Settings -> General -> Profiles.)

With the certificates all set up, I configured MobileOrg with WebDAV set to https://localhost:10000/index.org and I was off and running.

As you can see 90% of the trouble was setting up the certificates.

@webframp webframp added the development process Categorizes issue or PR as related to fixing or improving the development process label May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development process Categorizes issue or PR as related to fixing or improving the development process
Projects
None yet
Development

No branches or pull requests

2 participants