Sign Up and Subscribe buttons not working

The “Sign Up” and the “Subscribe” button are not working. Nothing happens when these are clicked, like they are dead. Following other forum post, I have enabled the show portal button. I have also enabled https

ghost config url https://yourdomain.com
ghost restart

I haven’t messed around with the theme. I am using the default theme with ghost install. I am self hosting.

Hit the button and then see if you see anything when you type ‘ghost log’.

Open the browser console (F12 and then make sure you’re on the console tab) and check for any errors.

One of those should help with diagnosing the problem!

From browser console I see “Redirecting navigation mydomain(dot)com to www.mydomain(dot)com because the server presented a certificate valid for www.mydomain(dot)com.

Under that statement I get an error https://mydomain.com/members/api/memeber net::ERR_CERT_COMMON_NAME_INVALID.

The issue is SSL certificate related.

On my server /etc/nginx/sites-enabled I see both mydomain(dot)com and (with www).mydomain.com, but the www has www.mydomain.com-ssl.conf. The same domain but with out www is only mydomain.com.conf

If I add another SSL cert to mydomain(dot)com (without www) will this fix the problem?

If so, do i just run the command

ghost setup ssl

What is the best practice for updating the existing mydomain.com.conf to mydomain.com-ssl.conf

FIXED.

SSL cert was exactly the issue. I ran the following command

ghost setup ssl

and this created another ssl cert for my domain with out the leading www.

ghost restart

The sign up button is working. Such an easy fix, but when you don’t know it seems impossible.