Cant get membership to work Im on lightsail bitnami ive used the bncert tool to add ssl . but my mebership and signup still reference http:// where can I fix this
Welcome to the Ghost community, @stephen_ward.
It would be really helpful if you provided more information, e.g., the installation steps, any relevant messages during the installation, logs etc.
As a guess, I’d check the site URL is config.production.json
, and make sure this is set for HTTPS.
thanks the installation was choosing ghost in lightsail - then I ran ```
sudo /opt/bitnami/bncert-tool
this is the config.production.json
{
"database": {
"client": "mysql",
"connection": {
"host": "127.0.0.1",
"port": 3306,
"database": "bitnami_ghost",
"user": "bn_ghost",
"password": ,
"ssl": false
}
},
"url": "https://library-events.com",
"server": {
"port": 2368,
"host": "0.0.0.0"
},
"mail": {
"transport": "Direct"
},
"logging": {
"transports": [
"file"
]
},
"process": "local",
"paths": {
"contentPath": "/opt/bitnami/ghost/content"
}
}
the error im getting
api.js:31 Mixed Content: The page at ‘https://library-events.com/’ was loaded over HTTPS, but requested an insecure resource ‘http://www.library-events.com/members/api/site/’. This request has been blocked; the content must be served over HTTPS.
The domain, https://library-events.com/, is redirecting to https://127.0.0.1:2368/.
Please share your Nginx configuration fro sites-available.
I cant find nginx on this server / apache ?
well almost everything working . the site is now using ssl . the only issue is the subscribe always fails
my current config.production.com
{
“database”: {
“client”: “mysql”,
“connection”: {
“host”: “127.0.0.1”,
“port”: 3306,
“database”: “bitnami_ghost”,
“user”: “bn_ghost”,
“password”: “9e58733b852d1a16f96b9904f0997ce58f3d05310a81bb23e380c5d8eb065633”,
“ssl”: false
}
},
“url”: “https://library-events.com”,
“server”: {
“port”: 2368,
“host”: “0.0.0.0”
},
“mail”: {
“transport”: “SMTP”,
“options”: {
“host”: “email-smtp.us-east-1.amazonaws.com”,
“service”: “SES”,
“port”: “587”,
“auth”: {
“user”: “not shown for obvious reason”,
“pass”: “not shown for obvious reason”
}
}
},
“logging”: {
“transports”: [“file”]
},
“process”: “local”,
“paths”: {
“contentPath”: “/opt/bitnami/ghost/content”
}
}
Do you mean emails aren’t delivered?
NAME: EmailError
CODE: ESOCKET
MESSAGE: Failed to send email. Reason: 140474876991424:error:1408F10B:SSL routines:ssl3_get
_record:wrong version number:…/deps/openssl/openssl/ssl/record/ssl3_record.c:332:
.
level: normal
“Please see Configuration - Adapt your publication to suit your needs for instructions on configuring email.”
Error: 140474876991424:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:…/
deps/openssl/openssl/ssl/record/ssl3_record.c:332: