For some reason DNN generates url for src of iframe inside every modal for editing module or module settings with different protocol on localhost and prod. On localhost when page is opened via https, iframe also has https url. At the same time on prod when page is opened via https, DNN generates http url there for some reason. As result I'm experiancing this issue:
https://dnnsupport.dnnsof...sing-SSL-Offloading-
Disabling modals would be really stupid solution as I need editing and settings for DNN modules. So I used workaround with meta tag added to a website via PersonaBar.
That fix actually works, but firstly, it's not the most convenient solution. Secondly, it's a crutch. If localhost can generate https link, then it means that prod also can. But why it doesn't? It's a code that is generated by DNN, not by my code. So as result I don't understand right now what's going on about it and why.
P.S. Just in case to clearify what I'm talking about:
Posted By dnngo-Linda on 20 Jun 2022 02:32 AM Hi Constantine, You can try to enable SSL in Security > More > SSL SETTINGS.
This does not fix the issue either, I'm not sure when it started but on a fresh instance of 9.10.2 there is no way to get the modal popups to load in https through DNN, short of placing an IIS rewrite rule for http to https for all requests
dnngo-Linda, for "IIS rewrite rule for http to https for all requests" to work I need browser to send request to server first. But browser refuses to send http request from https page at all. So it doesn't even get to server.
Yes DNN is should work with HTTPS. Did you press F12 (browser tools) and see if under network there are any issues (files not loading)? It might be that if your https configuration is not correct, the editor urls are loaded with http and not https and blocked.
And then one of our obvious annoying upgrade notes. Please upgrade. I know it can be very cumbersome especially with custom modules, but DNN 7 is so old that it not the question "if" but "when" your site is going to get hacked. You really need to get rid of the old telerik controls (by upgrading)....
I have configured SSL on the server and on the Site settings page (as enabled not enforced) leaving all other options blank.
When I try to edit content in the HTML module the rich text editor appears but the window is totally empty both in the HTML view and the standard view and when I try to click on these selectors javascript(0)void appears in the bottom left hand side of the page. This only happens under HTTPS. Luckily it still works under HTTP.
As far as the upgrade goes... I looked at the suggested upgrade path and have started downloading the necessary files... it's going to be pretty tedious and nerve-wracking.. plus I'm going to have to stay up nights doing this.
Maybe I'm unlucky, or maybe I have too many third-party modules on my installation but I can't remember a single upgrade I didn't have a problem with.
I will have to do it, I agree.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.