Need to change http to https.
http://myServerName/itf/sheldon/imex/ajax/share_details/v1/CH0012221716/issuer/contact.json **Should change to**
I found the solution: To change particular or any http call to https call, put the code in
VirtualHost :80
ErrorLog /var/log/httpd/error_log
CustomLog logs/access.log common
LogLevel info
RewriteCond %{HTTPS} off
RewriteEngine On
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
RewriteEngine On
Set up your virtual host file / httpd.conf to have lines
<VirtualHost *:80>
ServerName enter.yoursite.com
Redirect / https://enter.yoursite.com/
</VirtualHost>
<VirtualHost *:443>
ServerName enter.yoursite.com
ServerAdmin some@email.com
Insert EVERYTHING else in here (rewrite rules, log file stuff, etc)
</VirtualHost>
This will force the website to always redirect to HTTPS and then load all the configurations you want under HTTPS.