How to setup virtualmin to use cloudflare - wordpress

The goal is to have free ssl from cloudflare. So I moved dns records to cloudflare and is showing me - Certificate is Active. When I go to 'Analytics tab' it shows me traffic that is coming to the website. But when I enter the site https://www.zampadebattista.com I'm getting 'Your connection is not private'. It look that virtualmin is using his own self-signed certificate that I didn't setup. Do I need change something in virtualmin?
Thanks for your help

Try to see if the same key and Certificate that is in the Directory is the same as the CloudFlare.
Clean Your Cookies ...
Enter the site with the Browser in Anonimo
Here it is working perfectly!
If you have solved, clarify the solution you found ...

Related

how to get rid of firebase cert causing an error on my domain?

Anyone familiar with firebase, or just wordpress tech in general, willing to help me with an error I created?
Experimented with adding firebase to one of my sites, mainly trying to get a good 301 redirect going. Didn't pan out, tried deleting everything but for a while now I get this error when trying to load my domain.
I tried reinstalling a new ssl cert in my host, but that didnt do anything. Dunno where else to look to delete or edit files.
Your connection is not private
This server could not prove that it is kylebeckerconstruction.com; its security certificate is from firebaseapp.com. This may be caused by a misconfiguration or an attacker intercepting your connection.
You should look at the DNS records for your domain, as it appears they are likely still pointing to Firebase. You can use the dig tool (Linux/macOS) for this:
dig +short mydomain.com
If the resulting records look like:
151.101.65.195
151.101.1.195
then you are still pointed at Firebase Hosting and should change your DNS records with your domain provider.

AWS: Set up cloudfront and issued certificate. Still not secure

I have been using the WP AWS S3 Offsite-upload plugin for a while now and recently it has asked me to create a url for my site as a subdomain and use that to point to my cloudfront.
so, I changed my DNS records to add a CNAME
sub.mydomain.com > somestring.cloudfront.net
When I went to any files sub.mydomain.com/wp-content/wp-uploads/2018/10/image1.jpg I get a 'not secure' alert.
After a google I this link on AWS: https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-validate-dns.html
Using the steps there I went to the AWS Certificate Manager and generated a certificate for:
images.mydomain.com
and then downloaded the CNAME CSV file. I then added that CNAME to my DNS Zone editer on my CPanel and waited 24 hours.
Still I am getting a 'not secure' message.
In the AWS console the certificate says issued but not in use.
How do I get my subdomain images.subdomain.co.uk to point to my cloudfront installation?
I feel like it shouldn't be this difficult so apologies if i'm being a noob
You have issued the certificate but you have not to use let's encrypt to use ssl properly.
---> Just open your site and inspect element
---> then go to Security tab where it says suggest you what exactly the error is
solution
To resolve you have to use let's encrypt so you get ssl issued and integrated perfect.for that please follow these steps : https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/
If you are using AWS Route 53, to point your subdomain 'images.subdomain.co.uk' to CloudFront distribution, you need to create an Alias record set in your Hosted Zone. Select Alias: 'Yes' radio button while creating the record set and you should be able to see your CloudFront distribution in the drop down if it is in Deployed state.

wordpress social login plugin returning ERR_INVALID_REDIRECT having NGINX for hosting and load balancing

I am using wordpress social login 2.3.3 and enabled yahoo, twitter and facebook. But in my infrastructure i am using nginx for hosting webpage and there is another instance of nginx used for load balancing the traffic. My domain is registered and i am using non-standard port for HTTPS.
My issue is when after entering the Yahoo credentials by credentials are getting successfully authenticated and when hauth.done=Yahoo gives me sent an invalid response ERR_INVALID_REDIRECT
As per the code in wsl 2.3.3 author has already taken care of non standard port. So the issue seems to be narrowed down to Nginx configuration.
Please help!!
This is mainly because of below wrong parameters posted in general
redirect_to
baseUrl
In general it means with respect to HybridAuth that you are not landed on right page.
As you said that you are using Nginx as loadbalancer and server. You need to check your server request attributes.
You should look for
HTTP_X_FORWARDED_PORT
SERVER_PORT
HTTP_HOST
HTTP_X_FORWARDED_HOST
There can be other parameters as well, with all these attributes plugin forms correct URL.
Hope that Helps :)
ERR_INVALID_REDIRECT is caused because your redirect url in developers.yahoo.com and redirect url in plugin does not match. Try to configure them identically.

This page is insecure (broken HTTPS) hosting website on 000webhost

Changed the general settings of my wordpress website: "WordPress Address (URL)" and "Site Address (URL)" to www.wikipickr.com. After saving when I opened my website the https in url was crossed clicked on it and then details and this was displayed.
Problem Screenshot
What I wanted: I wanted the green padlock to appear before the url which meant that the connection is encrypted. And I wanted visitors to stay on www.wikipickr.com domain not the 000webhost domain I mentioned below, as before changing the setting, they were being redirected to wikipickr.000webhost.com.
Things you might need to know: I own www.wikipickr.com from Go Daddy. I'm actually hosting my website on a free hosting provider, 000webhost. My URL for that site is [wikipickr.000webhostapp.com][3] . I added a CNAME record in
my Go Daddy DNS setting to wikipickr.000webhostapp.com and then When I changed the setting from /wp-admin as I mentioned above, The cross mark started appearing. This is my first time hosting a website, feel free to bash me for my stupidity, if any. Thankyou for reading all this.
The link you provided now has data base error can not connect you need to follow the instructions provided by godaddy if that is where you purchased your certificate
After you've verified your certificate request, you can download your certificate files, and then install them on your server.
Install SSL certificates

Openshift : getting rid of HTTP"S" for good

I wanted to get help on this issue of mine.
Openshift is using https by default on its free applications,
whereas Heroku is using http
Whenever a visitor visits my website, he is presented with an Unsecure Connection warning.
How can we get rid of this warning or https altogether once and for all.
I am fine with http alone as
I am not willing to upgrade to silver for SSL thing only.
Nor do i have an SSL cert with me, am not planning on buying one.
Any thoughts?
strange thing I am also deploying my applications on openshift and they all are on http server. What ate the cartridges you are using??
OpenShift does not use https by default, we allow both http & https for free accounts and paid accounts. it may be something in your framework that you are using that is causing the redirect to https, it could also be that you visited the app before it was completely setup, and got redirected to https://app-domain.rhcloud.com/app, and now your browser is stuck on the https redirect. Try clearing your cache, test with another browser, or check the framework you are using to make sure it's not redirecting to https.

Resources