SSL Cert not working at the login level only

Hello @dhari.kh,

Could you try changing both definitions to use your domain following the guide I linked in my last post? It would be something like this:

define('WP_SITEURL', 'https://DOMAIN.com/');
define('WP_HOME', 'https://DOMAIN.com/');

Regards,
Francisco de Paz

Still the same

Hello @dhari.kh,

The issue is strange. From one of your previous screenshots, when accessing the https://...../profile site the URL changed back to showing the IP instead of the domain. Has this been solved with the latest change to the wp-config.php file or does it still use the IP?

Regards,
Francisco de Paz

The issue is still there. All the changes I did base on your request but still not working. Any new thoughts please ?

Hello @dhari.kh,

Let’s try to cross out possible external issues. Could you please restart your instance from the Google Cloud console and after that restart the services from the console running:

sudo /opt/bitnami/ctlscript.sh restart

Once restarted, try accessing your site using another browser or using an Incognito window in case the issue is coming from existing cookies or cache.

Regards,
Francisco de Paz

Please HELP, I install Another new bitnami ( WordPress with NGINX and SSL Certified by Bitnami and Automattic ) In google Cloud and again I have the same issue. I dont know how to setup the SSL Certificate . Please help the Code from your tool below , Again this is total new image.

52b11f43-8afa-87cf-6dc0-5bc309228046

Keywords: General - Google Cloud Platform - Technical issue - Secure Connections (SSL/HTTPS)

bndiagnostic ID: 52b11f43-8afa-87cf-6dc0-5bc309228046

bndiagnostic output:

? Nginx: Found possible issues
? Resources: Found possible issues
https://docs.bitnami.com/installer/infrastructure/nginx/troubleshooting/
https://docs.bitnami.com/installer/faq/linux-faq/administration/increase-memory-linux/

bndiagnostic failure reason: The tool could not find any issue

Description:
Enable SSL HTTPS in WordPress with NGINX and SSL Certified by Bitnami and Automattic

Please any update on this , this is new server there is not enable the SSL yet and need to make it work. thank you,

I do not see any certificate in the server. You need to point your domain to the instance’s IP and then generate a valid Let’s Encrypt certificate by following this guide

https://docs.bitnami.com/google/how-to/generate-install-lets-encrypt-ssl/#alternative-approach

Do I have to point my domain to the instance’s IP first ? How to do that any example please .

After that I follow the link to generate certificate?

I kind of lost . Do I have to follow the link above or what please advice.

I lost here ! please help step by step or clear link .
dhari@dta-cloud-vm:~$ sudo /opt/bitnami/bncert-tool

Bitnami installation directory

Please type a directory that contains a Bitnami installation. The default
installation directory for Linux installers is a directory inside /opt.

Bitnami installation directory [/opt/bitnami]:

Warning: Currently only installations using the Apache web server are supported.
Please follow the alternative approach described in this guide:

https://docs.bitnami.com/general/how-to/generate-install-lets-encrypt-ssl/#altern
ative-approach

             Make sure you are entering a proper path, or choose a different 

directory.
Press [Enter] to continue:

After follow the link above . the website goes down!!

This is the Issue now :

0 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050
Mar 12 16:39:30 dta-cloud-vm systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE
– Subject: Unit process exited
– Defined-By: systemd
– Support: Debian -- Support

– An ExecStart= process belonging to unit bitnami.service has exited.

– The process’ exit code is ‘exited’ and its exit status is 1.
Mar 12 16:39:30 dta-cloud-vm systemd[1]: bitnami.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: Debian -- Support

– The unit bitnami.service has entered the ‘failed’ state with result ‘exit-code’.
Mar 12 16:39:30 dta-cloud-vm systemd[1]: Failed to start LSB: bitnami init script.
– Subject: A start job for unit bitnami.service has failed
– Defined-By: systemd
– Support: Debian -- Support

– A start job for unit bitnami.service has finished with a failure.

– The job identifier is 1178 and the job result is failed.
Mar 12 16:39:30 dta-cloud-vm sudo[1078]: pam_unix(sudo:session): session closed for user root
Mar 12 16:39:31 dta-cloud-vm sshd[1219]: Received disconnect from 167.172.23.189 port 38078:11: Bye Bye [preauth]
Mar 12 16:39:31 dta-cloud-vm sshd[1219]: Disconnected from authenticating user root 167.172.23.189 port 38078 [preauth]
Mar 12 16:39:46 dta-cloud-vm sshd[1221]: Received disconnect from 146.56.37.165 port 46018:11: Bye Bye [preauth]
Mar 12 16:39:46 dta-cloud-vm sshd[1221]: Disconnected from authenticating user root 146.56.37.165 port 46018 [preauth]
Mar 12 16:39:53 dta-cloud-vm sshd[1225]: Received disconnect from 106.55.34.248 port 54792:11: Bye Bye [preauth]
Mar 12 16:39:53 dta-cloud-vm sshd[1225]: Disconnected from authenticating user root 106.55.34.248 port 54792 [preauth]
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: nginx: [emerg] cannot load certificate "/opt/bitnami/nginx/conf/bitnami/certs/server
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: 2022-03-12T16:39:30.301Z - error: Unable to perform start operation Export start for
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050
Mar 12 16:39:30 dta-cloud-vm systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE
Mar 12 16:39:30 dta-cloud-vm systemd[1]: bitnami.service: Failed with result ‘exit-code’.
Mar 12 16:39:30 dta-cloud-vm systemd[1]: Failed to start LSB: bitnami init script.

Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: nginx: [emerg] cannot load certificate "/opt/bitnami/nginx/conf/bitnami/certs/server
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: 2022-03-12T16:39:30.301Z - error: Unable to perform start operation Export start for
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: ## 2022-03-12 16:39:30+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050
Mar 12 16:39:30 dta-cloud-vm systemd[1]: bitnami.service: Control process exited, code=exited, status=1/FAILURE
Mar 12 16:39:30 dta-cloud-vm systemd[1]: bitnami.service: Failed with result ‘exit-code’.
Mar 12 16:39:30 dta-cloud-vm systemd[1]: Failed to start LSB: bitnami init script.

dhari@dta-cloud-vm:~$

Any update please the website is down now

Hi @dhari.kh

From the error above, it seems that the configuration file is pointing to a non-existent SSL certificate. This is ultimately preventing NGINX from starting:

...
Mar 12 16:39:30 dta-cloud-vm bitnami[1087]: nginx: [emerg] cannot load certificate "/opt/bitnami/nginx/conf/bitnami/certs/server
...

You may need to access the nginx configuration file and verify the path where the SSL certificate points to is correct.

I would need you to execute the bndiagnostic-tool in order to be able to check your configuration files.

Best regards,
Jose Antonio Carmona


Was my answer helpful? Click on :heart:

Thanks for the answers, i also had same issue

now i’m trying to resolve it.. .

Hello @candarzop,

To avoid having an extremely long thread, please open a new thread detailing your problem attaching your bnsupport to it so the team can work on solving it.

Thanks in advance,
Francisco de Paz