Skip to content

Public-RPS and proposal failure #3112

Answered by eddyashton
martijnlammers asked this question in Q&A
Discussion options

You must be logged in to vote

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:

; config.ini
public-rpc-address = 8.8.8.8:443

$ openssl x509 -text -in ./certificates/node_cert.pem
...
            X509v3 Subject Alternative Name: 
                IP Address:8.8.8.8
...
; config.ini
public-rpc-address = ccf.example.com:443

$ o…

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@eddyashton
Comment options

@achamayou
Comment options

@martijnlammers
Comment options

@eddyashton
Comment options

@martijnlammers
Comment options

Answer selected by martijnlammers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants