Sent rootCA.pem and rootCA-key.pem via email to myself to open them from Safari on the iphone, installed the one that allowed me to (rootCA.pem) in profile in Settings > Profile Downloaded and then enabled full trust in it like this https://support.apple.com/en-nz/HT204477 and the local server still has warnings that this connection is not private -_-
@marcel When recently testing on IOS with local server in Mozilla XR Viewer, what workaround did you use to get rid of any āYour connection is not privateā warnings? Iāve spent a good few hours trying to get that https://www.npmjs.com/package/vite-plugin-mkcert to work and Iām hitting brick walls.
This is what is happening on iOS when I open the local server link via QR code in Mozilla XR Viewer while trying the open/close/shutdown steps that @herbstšµ said were a workaround. It simply never loads or shows anything. Same process done on Android with Chrome is totally fine so we just canāt test AR from Local Server on iOS at the moment. https://drive.google.com/file/d/1_qiaBXIXZcSWUzyxglGJfBQdqNAL-R2D/view?usp=share_link
This was the fix! Thankyou so much! I wasted so many hours looking into this! I can now test AR on IOS to look into some issues I have been told about. Might be worth taking that SSL out of templates for now if it is borked?
We canāt and wonāt take it out of the templates. Itās required for WebXR on any other device/browser and also recommended for any modern development. WebXR Viewer will have to stay the exception there; we can probably make it easier / more apparent what to do to switch SSL off if needed
Iāll test on my android device without SSL in a moment. In the case it all works without SSL, Iāll leave it out for now. If it doesnāt work, is there a way to only use SSL if itās on iOS for Mozilla WebXR? Itās been a real pain being unable to test on iOS with local server until this was uncovered that SSL was the root cause
Since I removed mkcert from vite.config.js and rolled back to commits on git before I added mkecrt, I get this error always in the console before Play runs so Iām looking into that now Curl error 60: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_USER_ERROR1