miikka
9 years agoMaven
SDK and HTTPS
Hi, is anybody using the SDK with a stage running on HTTPS? I upgraded to the v. 1.2.1 of the SDK and tried configuring the local CSS instance to be served over HTTPS instead of HTTP. But even i...
With the push to HTTPS for communities, this one is going to become quite a big issue for workflow with the SDK.
Any progress or updates a workaround?
As it stands just now no browsers will load the CSS from the local machine if you're viewing the environment using a HTTPS connection.
I've spun up Apache on my dev machine and configured a virtual host with self-signed SSL certs pointing to the .tmp/lia directory, the problem with this is that only the CSS file is compiled, the assets from /html/assets/ server side don't get downloaded to the .tmp/lia/<skin>/html/assets directory when navigating around the staging environment leaving elements of pages not displaying properly.
Hi RobertT,
I've been advocating for a workaround for this with Engineering. They asked if you tried switching the browser to allow mixed content. I couldn't tell from your post.
This is becoming a bigger issue for us now, Apple have removed the option from Safari 11 to enable mixed/insecure content so this is no longer a viable workaround.
Do we know if the SDK will be updated to allow us to serve-sass over a HTTPS service?
Just an update for anyone following this topic.
I've managed to workaround the issue by setting up an SSL server in apache with symlinks to the assets folders in the SDK - not elegant I know but it means that my machine serves up the SDK via HTTPS - the caveat is that it's not a straightforward process to achieve and I've only been able to do this on a Mac so far.
If I figure a more robust way of running a HTTPS server with simpler setup on different machines I'll share my findings.