Public-RPS and proposal failure #3112
-
I've create a single node network using cchost with only one initial activated member containing the default constitution.
I'm currently attempting to change my JS application through proposal, however I'm running into two problems. Outputs:
Port 443 is open. Secondly, I am unable to apply my proposal to the running network via my local address. Is there anything visible that I am doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
For the first part: It looks like the certs that are generated don't include the correct Subject Alternative Name (SAN) field that curl is looking for when it established a TLS connection. This should be derived from the Some examples:
Can you check what SAN is being inserted, and confirm it matches your public VM address (in particular, that it is correctly identified as a DNS/IP?)? To rule out any other factors, you should first test that you can reach a simpler unauthenticated endpoint (ie EDIT: This theory on the second issue is wrong, see below*
with
(Note: Not sure about this one - that's how our arg parser writes this value when we ask it to generate a * I've tested this locally, and having multiple instances of |
Beta Was this translation helpful? Give feedback.
For the first part: It looks like the certs that are generated don't include the correct Subject Alternative Name (SAN) field that curl is looking for when it established a TLS connection. This should be derived from the
--public-rpc-address
option, but can also be explicitly specified with--san
(see the note below the diagram here). You can print the fields in the cert with$ openssl x509 -text -in ./certificates/node_cert.pem
Some examples: