I am working with my new website. I got SSL certificates file from Digicert SSL provider . I installed SSL as instructed . But my WordPress pages still get Insecure page error while other html and non-WordPress PHP pages works Okay. I am not sure what did i do wrong.
my website is
https://www.devbhusal.com/ shows insecure page error.
https://www.devbhusal.com/readme.html works fine.
https://www.devbhusal.com/test.php works fine.
If SSL installed successfully with domain and still site is not secure then please check if internal link used only http:// if yes then convert to https:// and still you not able to find then you can use https://wordpress.org/plugins/really-simple-ssl/ plugin.
I tried with simpl SSL and everything that I can find on internet. At last I made wordpress backup file, created new server in EC2 ,install fresh WordPress ,restore wordpress data and install SSL. Now it is working. I still couldn't figure out what went wrong with old settings.
Related
I have installed the SSL certificate via Cpanel to my WP website. But right after installing it the UI of the website got disturbed.
Without SSL
With SSL
Update 1
I have looked into it and found out that CSS/JS is not properly loaded. So I changed HTTP to HTTPS in my files where I was using it. But still, the issue is the same. Moreover, I am getting the below errors in my console.
Any help would be highly appreciated
Its due to references of css/images/javascript etc that are not using the SSL (https) but use HTTP instead. I recommend to install Really Simple SSL plugin for the quickest solution. Another solution is to go and fix every incorrect reference but this can be a lot of work and may in some cases need advanced knowledge (editing database entries etc.)
Check with your hosting company to properly configure HTTPS Redirects. The hosting company may ask you to install an HTTPS redirect plugin on your website. If that's work out then good if not, then go to PHPmyAdmin of your cPanel and Export your database. Open the database in Notepad++ and replace all http with https . Save the file. Delete old database tables. Import the file you saved with changes. Be aware, it might break your site, so be sure to take a backup of your database before attempting it. If things don't work out, revert the changes and take the help of a developer to fix it for you.
I created a plugin for my wordpress website. This plugin use file_get_contents() PHP function to get contents from my other websites. Everything goes well in local host (XAMPP). But when I run the plugin in my server which has HTTPS installed, it does not work anymore. Please note that the websites (I need to scrape the contents from) don't install HTTPS.
I searched for many solutions here (such as edit in php.ini: extension=php_openssl.dll and allow_url_fopen = On ) but it still doesn't work.
Thanks for reading and Helps!
My phpmyadmin was accessible prior to installing ssl on my abyss web server using http://.
Since I have set up my ssl config when I try to access phpmyadmin on https:// the page loads but nothing is displayed.
I have installed ssl across my whole domain.
Do I need to edit the config.inc file to enable phpmyadmin on ssl and if so what changes need to be made?
Must have been a corrupt file somehow.
Solution was to remove all old phpmyadmin files and reinstall with latest version from the phpmyadmin website.
All okay now.
I not sure why i'm getting this error after i migrated my wordpress to Azure Websites. Previously the site working perfectly without any issue. I tried to install SSL (from comodo) to Azure Websites, top up SSL from cloudflare but it still not working.
MailChimp API Response : SSL certificate problem: unable to get local issuer certificate
Some online user said need to define the php.ini, but we have no access over the file hence i'm adding the following line to wp-config.php
ini_set('curl.cainfo', "cacert.pem");
the file located at same directory as wp-config. but it's still not working. please advice.
(I'm using custom domain)
You can use a custom PHP runtime, and then you can change php.ini and any of the PHP_INI_SYSTEM configurations.
Check here for details on how to use a custom php runtime, but basically you will upload the php version as a part of your site, and set is as the handler for *.php in Portal.
Using CPanel/Softaculous to install Mediawiki on my hosted website appears to install fine. Though not sure how much the installer checks.
I then setup a sub-domain such as wiki.mydomain.com to accept requests there.
After that, I also setup SSL cert in Cpanel. The cert is self-signed because at the moment I am just testing out the wiki and everything before I decided if I will purchase a cert.
Then, if I attempt to go to http://wiki.mydomain.com. I get the landing page of MediaWiki but if I attempt to go to https://wiki.mydomain.com I get nothing but a blank browser window.
Now, if i go to https://wiki.mydomain.com/index.php, I get a 404 error (I created a simple html page with a 404 error message then modified my .htaccess to show it on the 404).
When looking at the logs, it appears to be trying to find the index.php file under /home/mydomain/public_html/index.php instead of /home/mydomain/wiki/index.php.
Very confused on why this isn't working at all. I can post some configs and things as well but this account is a newly created CPanel account so not much as been done on it other then installing the wiki software.
(Edit) This is using SharedSSL. I couldn't get it to work without it. Some reason even after I made sure the site was the only one on the IP Address using WHM it was still showing it as a shared IP. :P
Fixed the SharedSSL by using this information: Cpanel Forums
You will have to make a new install of MediaWiki via Softaculous. Go on the install form you will get an option to "Choose Protocol" choose https:// there and in the "Choose Domain" dropdown choose your subdomain https://wiki.mydomain.com leave the "In Directory" field blank and then click on Install button.
Then you should be able to access the MediaWiki install at https://wiki.mydomain.com
I think the reason for this issue is due to how cPanel works with sub-domains and SSL. From what I gather, this appears to be a SSL cert issue since when CPanel rebuilds the httpd.conf using /scripts/rebuildhttpdconf command, it does not create a SSL virtual host for the sub-domain. Also, the parent domain works fine.
I ended up putting the wiki in /home/mydomain/public_html/wiki then setting up redirects for http://mydomain.com and https://domain.com to point to https://mydomain.com/wiki.
For now, that's all I could figure out to fix the issue was to drop the sub-domain.