Yeah, you could copy the file to one ending in .txt and upload that.
Or, copy/paste the entire thing to a post here
Yeah, you could copy the file to one ending in .txt and upload that.
Or, copy/paste the entire thing to a post here
-----BEGIN CERTIFICATE-----
MIIE6zCCAtOgAwIBAgIUPzTHDzGGL65aLoBkJOT3sh04BHowDQYJKoZIhvcNAQEL
BQAwFjEUMBIGA1UEAwwLZXhhbXBsZS5jb20wHhcNMjMwNzIwMTYwMjE4WhcNMjgw
NzE4MTYwMjE4WjAWMRQwEgYDVQQDDAtleGFtcGxlLmNvbTCCAiIwDQYJKoZIhvcN
AQEBBQADggIPADCCAgoCggIBALSsqjy8sbPOQ3TtXbxbV0BHlea52RGhuJjiZOyA
5ph3A/YHnozKSt1eUE1VyMQ8ZWHW/KXVHubUTGmeMSSsWrwDWHDKNPH94zFxileE
+JpZhZw23Ui7c1Ruv02TjmIFBRVTEC+OBoYI2/dtz2FCcD2rQHmM3gpCNpW9CHNb
qEWiFxmo0/WFpsIo37g/UgAcs5yCEWdHF2dZhlzKb34H5TThU1kEc9tUCUaQ01y0
H5ZZZ+yEJW+iexK+LI7+qBZ4q7tuznH6cb9OX6kdUe/kOzQhqNzWZJLiuHq52qks
/0cjcSBGwdBbwbd0DTA0S18ujso6eE+cUHYpy1Z/OW138AmjzPB1oy2IJDad3QFc
3ef1fTBIDjtp8JowPB8jHjaNHsb0mDT6Np1FWHDDAOveVJWctSNL4qsd8vo9EZRf
o7KFHi3t89TW2GV/f0jbpIPMeUlr4S3H14O8cjSyeu/isl5FM1D1E1FGXGnrcEFG
NgNdVAu1j+okQQp8u7pNPVSKoUlYKoTI147RqV+zptK/yVU0tWtNagR1mY8PIlLd
ifNL6SdNYtTdTCIirYRrCvVSIEkc503fMPRcCSfXl2EkgIOCeR3Ocs+vGZRNf8+k
2K/BT310WZeC+X9Vg8DjQHLkv0WOt0SNszGonGq4aQhRdlSVF7xXDAzgjdlbOgco
b3ffAgMBAAGjMTAvMC0GA1UdEQQmMCSCC2V4YW1wbGUuY29tgg93d3cuZXhhbXBs
ZS5jb22HBH8AAAEwDQYJKoZIhvcNAQELBQADggIBAARj+XVHqOji+fokQrQ/UOfU
Mo0UCsE3iBwyyAfL8eVv0yyHgY6u7jL2V+Wt6BKDFOUdLWhMYnAhID5B4yoMxJXj
7WkLyJITLyBXu1mYFbQf2I83k/nKqLneq+Dn1xwT8sR7BvP3LifaWM/9lO3qyscG
hzEYu7WmH/O1zZJ/0+2IPi4u+aTpA80nqApibA2ETF3Hr7jPUV2/jYEFj7XDqqlz
+IV0D4fzxkUHcJeoTACFr0/Z97kVtNvD8DEf5vRI4DxpkSE1Btlm4yzhgguPVxZh
3pNaT6alS4gggGaG7Z5YHe58BM6mC0CAg8CGx5qlT8PPzrdlL9j+VKJEBIgmd+Y9
KhYx2CmTi+zOtmzBSSI3wNrcuiHVRrit7VKfFfEAyJZg7bFtlA7QvNUlnOreOpLb
mgn6MG5cZ/K5HJl7zeKkzUAuhSc0Og8BuZjt9JaVGMpikOHe1L/RQOYQhoGSyInG
wPUGwzcwmKSc69bnbQ5Cfp3uxIhovoKfcnvMD7CDw9KGcEoTluHvjLKMzJRtl3gl
Xx11Wfb5CnSlggZatTzaEIkLPP9EKipK5iEoahlzX3Q66DgR3H2X8PAFFf7HsKmj
QD7oGHJJBOr7JLrkpNHo66Lzg3+P6mTmpx5vSGXeO9h0ew1cAQtbsRfuqwOzxycW
+dj7wX8DMkIIq5RLc6+A
-----END CERTIFICATE-----
Thanks. Well, now we know where example.com is coming from. That cert is for example.com
You have not yet described what method you used to get your cert. I see that you did get one from the public logs. But, your method must have placed the certs in a different folder than you have in Apache
We cross-posted. Just wanted to make sure you saw my post just prior to yours
Thanks. I saw your post. I used certbot and followed the steps given in AWS lightsail, in the below url.
In place of example.com, i cross-checked and ensured my domain angelone.algomatixrt.com is mentioned appropriately.
Certbot, by default, places the certs in the /etc/letsencrypt/live/ folder. There would be a subfolder in that for your domain and within that 4 files. In the instructions you linked go to step #7
Step 7: Create links to the Letβs Encrypt certificate files in the Apache server directory
In this step are further numbered steps. It looks like you did not do part 5 of this. It has you copying the fullchain.pem and privkey.pem files to another folder (the one named in your Apache config)
I followed all the steps including step #7 for creating links. It created the links, and can be seen in the screenshot here.
Yes, I see that Certbot created the certs in its folders.
But, step 5 of step 7 has you making symbolic links from the bitnami cert folder to Certbot folders
What does this show?
sudo ls -l /opt/bitnami/apache2/conf
EDIT:
And this folder.
sudo ls -l /opt/bitnami/apache/conf
It seems odd you have them in both Apache and Apache2 folders but let's ignore that.
That looks correct.
Now you need to point Apache to those folders. You last showed this:
But it should be
SSLCertificateFile "/opt/bitnami/apache2/conf/server.crt"
SSLCertificateKeyFile "/opt/bitnami/apache2/conf/server.key"
Or, maybe just apache instead of apache2. I not sure which you should be using. It is based on the version of your system. I will let you sort that out.
Changed as you mentioned. It shows the right certificate now. Thanks much.
However it is not going to the landing page Algomatix
Wonderful. Glad we got that fixed.
The landing page is not related to your certs.
I see the same page using HTTP requests to your domain as I do when using HTTPS
It is a page titled "LAMP packaged by Bitnami". It looks to me like you now need to configure Apache to do what you want.
Wonderful. Thanks much for helping me out all the way.
While creating the cert, i had mentioned about http and https to point to only https site. But it also serving http requests and not redirecting to https. How could that be resolved?
You need to create a rewrite in your port 80 VirtualHost.
I'd like to see the latest:
sudo apachectl -t -D DUMP_VHOSTS
VirtualHost configuration:
127.0.0.1:80 status.localhost (/opt/bitnami/apache/conf/vhosts/00_status-vhost.conf:1)
*:80 is a NameVirtualHost
default server angelone.algomatixrt.com (/opt/bitnami/apache/conf/extra/httpd-vhosts.conf:23)
port 80 namevhost angelone.algomatixrt.com (/opt/bitnami/apache/conf/extra/httpd-vhosts.conf:23)
alias www.angelone.algomatixrt.com
port 80 namevhost angelone.algomatixrt.com (/opt/bitnami/apache/conf/bitnami/bitnami.conf:6)
*:443 angelone.algomatixrt.com (/opt/bitnami/apache/conf/bitnami/bitnami-ssl.conf:15)
And the name:port overlap remains: