Want to reverse Redirect http to https apache Linux

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: celebritymc.com

I ran this command:

It produced this output:

My web server is (include version):apache 2

The operating system my web server runs on is (include version):Linux Zorin 16.2 (ubuntu 20.04)

My hosting provider, if applicable, is:self

I can login to a root shell on my machine (yes or no, or I don't know):yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

I just installed a certificate for that dom above but have since found that our router will not allow 443.

I wish to reverse the http to https I chose so that we can us http to still get to the site until I get this resolved.

I have access to all conf files etc.

oz

1 Like

You might be able to forward HTTP to HTTPS on a non-standard port [other than 443].
Which is not ideal but would be encrypted.

6 Likes

How would I do that please?

I still don't know what the router would stop me from using 443 by using it for http. Not sure what that means. This is the only reference to 443 ion the router NGF18MESH Netcomm.

Is it possible to undo the certificate for this site so I can start again ? If so how do I get that done?

1 Like

Step #1 = enable this:
image
Step #2 [if #1 fails] = change the WAN port to something else.

Not exactly.
You could stop using it; But I'm not sure that would fix anything.

3 Likes

Many thanks for your suggestions.

It seems that apache is now not working due to my changing the conf files too many times trying to get this to work.
.
I think it best I reinstall apache cleanly.

My question is, if I do this, can I download all of the necessary certificate files that I originally had?

1 Like

You cannot download the Private Key (if you have security, it is private) from anywhere!
Since you would copy the Private Key you might as well copy the Issued Certificate as well.
But yes you can find the Issued Certificate here crt.sh | celebritymc.com, presently you only have one. Click on it and the next page you will see, click Download Certificate: PEM
image

1 Like

Many thanks for the help.

I have downloaded it.

Where/ how do I install or register that in the new setup?

Thank you again, I really appreciate it as it is really confusing for
this old head :slight_smile:

David

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.