for reasons too long to explain I moved my server from subdomain.co.uk to subdomain.com
Have successfully done my SSL and I can see all the FileMaker files I need to
I went to OCC and removed the old server
Then added it with new address, and OCC can see the version of FMS and Otto correctly
Went to Otto and removed AdminAPI key and made a new one, copy pasted it but then I get error it could not connect, so tried whole process again asking to make a key for me. The key is not created and I get this:
It looks like we’re getting an ssl cert error on the backend. I’ll add it to the list to pass back a better error, but the error we are getting is: “Host: subdomain.com. is not in the cert’s altnames: DNS:subdomain.co.uk, DNS:www.subdomain.co.uk”.
Did you change the ssl right before attempting to add it back to the console? Its possible the cert may have been cached somewhere.
I’ll get a better error passed back for you in the future!!
No. And wasn’t after updated the cert.
The issue seems to be that FileMaker Server only needs the service to be restarted to pick up the new cert, but I had to restart the whole machine for OCC to pick up the new information. Make sense?
This is, I appreciate one of those edge cases. Normally you would be adding a brand new server, not one that you had changed the domain for.
@kduval
went and looked at syslog to check for something with node-red and found that this had been happening:
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: Af [TRPCError]: No auth token
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at /snapshot/ottofms-server/index.js
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at c (/snapshot/ottofms-server/index.js)
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at t (/snapshot/ottofms-server/index.js)
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at c$e (/snapshot/ottofms-server/index.js)
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at wPi (/snapshot/ottofms-server/index.js)
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at /snapshot/ottofms-server/index.js
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at Array.map ()
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at Zjr (/snapshot/ottofms-server/index.js)
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: at async /snapshot/ottofms-server/index.js {
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: code: ‘UNAUTHORIZED’,
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: [cause]: undefined
Mar 31 14:00:56 ubuntu ottofms-linux-x64[1135]: }
how often is that error happening? We throw that error when you attempt to access the ottofms console without a valid browser cookie. I would expect it to fire sometimes (usually just when you go to the console and get redirected to login).