Http Client Plugin


The http_client_plugin is an internal utility plugin, providing the producer_plugin the ability to use securely an external awallet instance as its block signer. It can only be used when the producer_plugin is configured to produce blocks.


# config.ini
plugin = arisen::http_client_plugin
https-client-root-cert = "path/to/my/certificate.pem"
https-client-validate-peers = 1
# command-line
aos ... --plugin arisen::http_client_plugin  \
           --https-client-root-cert "path/to/my/certificate.pem"  \
           --https-client-validate-peers 1


These can be specified from both the aos command-line or the config.ini file:

Config Options for arisen::http_client_plugin:
  --https-client-root-cert arg          PEM encoded trusted root certificate 
                                        (or path to file containing one) used 
                                        to validate any TLS connections made.  
                                        (may specify multiple times)
  --https-client-validate-peers arg (=1)
                                        true: validate that the peer 
                                        certificates are valid and trusted, 
                                        false: ignore cert errors


* producer_plugin