So testing across different NPM installations:
When NPM is installed as a TrueNAS app:
- when trying to create a certificate, server reachability is failed. The error is that a server can found but returned an unexpected status code ‘invalid domain or IP’
- port 443 and 30022 (as required for the app) has been forwarded to the device running NPM, however I’m not sure if the port forward is actually running properly
- check with www.portchecktool.com shows port 443 is blocked, but port 30022 is ok
So to check this isn’t an error with my router settings, I also tried NPM installation in a Docker container:
- same error when creating a certificate as above
- port 443 has been forwarded to the device/container running NPM. (port 30022 not required with the Docker installation)
- this time with the portchecktool, port 443 is shown to be clear
So in:
1) the TrueNAS App installation, the App somehow blocks/is not listening for traffic on port 443; and
2) the Docker installation, port 443 is cleared but NPM can’t process the certificate? Would anyone be able to make sense of this?