SSL Support

Permalink Browser Info Environment
Hi,
We have recently added a SSL certificate to our site, if I add the code
if I leave the .htaccess file with pretty urls on the site works but the css is wrong if I then add RewriteRule^(.*)$http://www.example.com/$1 [R,L] to the .htaccess page the site works and the css works but I am unable to login to edit the site.
Is there a way to add SSL and the them to work correctly?

Thanks
Rob

Type: Pre-Sale
Status: Resolved
plasmarepairs
View Replies:
sebastienj replied on at Permalink Reply
sebastienj
Did you meet the issue with the default theme of Concrete5? If yes, you might ask the core team about this issue.
plasmarepairs replied on at Permalink Reply
plasmarepairs
Hi,
No, we have your theme installed @ smartservice.solutions but if you enter via the https:// the css goes wrong if you enter via http:// the css all works as it should.

I hope this helps a little more to explain the problem
sebastienj replied on at Permalink Reply
sebastienj
I'm sorry i can't test this. But you need to be sure if the problem is from Supermint or the core.
plasmarepairs replied on at Permalink Reply
plasmarepairs
Hi, it would appear to be the call to google fonts that is causing the issue.
where would I change the following
Taken from
http://www.amixa.com/blog/2012/06/06/how-to-use-google-fonts-under-both-ssl-and-non-ssl-without-ssl-insecure-messages/


The fix for this is very simple and will work under all the common browsers. This has been tested on IE9, Firefox 13, Safari and Chrome.

locate this line on your HTML page (or template):

<link href='http://fonts.googleapis.com/css?family=Dosis:400,700' rel='stylesheet' type='text/css'>


and change it to this:

<link href='//fonts.googleapis.com/css?family=Dosis:400,700' rel='stylesheet' type='text/css'>

This simple change will make your browser call the Google Font page in the applicable mode (HTTP vs HTTPS).

Thanks
Rob
plasmarepairs replied on at Permalink Reply 1 Attachment
plasmarepairs
I thought I better add a screen shot of the items that are non secure.
Sorry to bother you with these but I would really like the entire site to be under the SSL without errors
plasmarepairs replied on at Permalink Reply
plasmarepairs
Hi,
Any update on this please?

Thanks
plasmarepairs replied on at Permalink Reply
plasmarepairs
Hi,
Any update on this please?

Thanks
plasmarepairs replied on at Permalink Reply 1 Attachment
plasmarepairs
Hi,
Please could look at the attached picture which shows the 2 non secure items
could you please list where these would be listed so that they maybe changed to allow the site not to appear as non secure.

Thanks
Rob
sebastienj replied on at Permalink Reply
sebastienj
You will find it under
elements/font_details.php
and
js/webfonts.json

I has modified twice for the next release.
plasmarepairs replied on at Permalink Reply
plasmarepairs
Hi,
Thanks for the update,
I have changed these files. but I am now getting the following errors
(index):41 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Roboto:100,300,300italic,500,500italic|Roboto+Condensed:regular,300|Pacifico:regular&subset=latin'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/pacifico/v7/Q_Z9mv4hySLTMoMjnk_rCfesZW2xOQ-xsNqO47m55DA.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/ty9dfvLAziwdqQ2dHoyjphTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/frNV30OaYdlFRtH2VnZZdhTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/gwVJDERN2Amz39wrSoZ7FxTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/aZMswpodYeVhtRvuABJWvBTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/VvXUGKZXbHtX_S_VCTLpGhTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/e7MeVAyvogMqFwwl61PKhBTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/2tsd397wLxj96qwHyNIkxPesZW2xOQ-xsNqO47m55DA.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/0eC6fl06luXEYWpBSJvXCBJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/Fl4y0QdOxyyTHEGMXX8kcRJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/-L14Jk06m6pUHB-5mXQQnRJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/I3S1wsgSg9YCurV6PUkTORJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/NYDWBdD4gIq26G5XYbHsFBJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/Pru33qjShpZSmG3z6VYwnRJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.

could you possibly point me in the direction of the other files that I need to remove the http: from
Thanks again

Rob
plasmarepairs replied on at Permalink Reply
plasmarepairs
Hi,
Thanks for the update,
I have changed these files. but I am now getting the following errors
(index):41 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Roboto:100,300,300italic,500,500italic|Roboto+Condensed:regular,300|Pacifico:regular&subset=latin'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/pacifico/v7/Q_Z9mv4hySLTMoMjnk_rCfesZW2xOQ-xsNqO47m55DA.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/ty9dfvLAziwdqQ2dHoyjphTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/frNV30OaYdlFRtH2VnZZdhTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/gwVJDERN2Amz39wrSoZ7FxTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/aZMswpodYeVhtRvuABJWvBTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/VvXUGKZXbHtX_S_VCTLpGhTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/e7MeVAyvogMqFwwl61PKhBTbgVql8nDJpwnrE27mub0.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/2tsd397wLxj96qwHyNIkxPesZW2xOQ-xsNqO47m55DA.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/0eC6fl06luXEYWpBSJvXCBJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/Fl4y0QdOxyyTHEGMXX8kcRJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/-L14Jk06m6pUHB-5mXQQnRJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/I3S1wsgSg9YCurV6PUkTORJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/NYDWBdD4gIq26G5XYbHsFBJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://www.smartservice.solutions/' was loaded over HTTPS, but requested an insecure font 'http://fonts.gstatic.com/s/roboto/v15/Pru33qjShpZSmG3z6VYwnRJtnKITppOI_IvcXXDNrsc.woff2'. This content should also be served over HTTPS.

could you possibly point me in the direction of the other files that I need to remove the http: from
Thanks again

Rob
sebastienj replied on at Permalink Reply
sebastienj
Can you check the line 49 in elements/font_details.php and src/Models/SupermintFontList.php at line 12 if both have https ?
plasmarepairs replied on at Permalink Reply
plasmarepairs
You are a Star...
Thanks so much for your help,
I needed to change this one src/Models/SupermintFontList.php at line 12

All working now.
Great help great theme

Thanks
Rob
plasmarepairs replied on at Permalink Reply
plasmarepairs
Not sure how to close this ticket.
But please can this now be closed as resolved.
sebastienj replied on at Permalink Reply
sebastienj
Don't hesitate to add a review :-)

concrete5 Environment Information

concrete5

Dashboard
Sitemap
Files
Members
Reports
Pages & Themes
Conversations
Workflow
Stacks & Blocks
Extend concrete5
System & Settings
Basics
SEO & Statistics
Files
Optimization
Permissions & Access
Login & Registration
Email
Conversations
Attributes
Environment
Environment Information
Debug Settings
Logging Settings
Proxy Server
Database Entities
Backup & Restore
Multilingual
Supermint options
Logged in as admin.
Sign Out.
Environment Information

# concrete5 Version
Core Version - 5.7.5.2
Version Installed - 5.7.5.2
Database Version - 20150731000000

# concrete5 Packages
Supermint Theme (3.2.5).

# concrete5 Overrides
languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/sl_SI/LC_MESSAGES/messages.mo, languages/sl_SI/LC_MESSAGES, languages/sl_SI, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache/2.4.18 (Unix)

# Server API
cgi-fcgi

# PHP Version
5.5.30

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, enchant, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, ldap, libxml, mbstring, mcrypt, mhash, mssql, mysql, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, readline, recode, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, Zend Guard Loader, zip, zlib.

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 64M
ldap.max_links - Unlimited
mssql.max_links - Unlimited
mssql.max_persistent - Unlimited
mssql.max_procs - Unlimited
mssql.textlimit - Server default
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 1440
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.