| 
    rippled
    
   | 
 
Functions | |
| static void | initAnonymous (boost::asio::ssl::context &context) | 
| static void | initAuthenticated (boost::asio::ssl::context &context, std::string const &key_file, std::string const &cert_file, std::string const &chain_file) | 
| std::shared_ptr< boost::asio::ssl::context > | get_context (std::string cipherList) | 
Variables | |
| int | defaultRSAKeyBits = 2048 | 
| The default strength of self-signed RSA certifices.   | |
| static constexpr char const | defaultDH [] | 
| The default DH parameters.   | |
| std::string const | defaultCipherList = "TLSv1.2:!CBC:!DSS:!PSK:!eNULL:!aNULL" | 
| The default list of ciphers we accept over TLS.   | |
      
  | 
  static | 
Definition at line 88 of file make_SSLContext.cpp.
      
  | 
  static | 
Definition at line 230 of file make_SSLContext.cpp.
| std::shared_ptr< boost::asio::ssl::context > ripple::openssl::detail::get_context | ( | std::string | cipherList | ) | 
Definition at line 328 of file make_SSLContext.cpp.
| int ripple::openssl::detail::defaultRSAKeyBits = 2048 | 
The default strength of self-signed RSA certifices.
Per NIST Special Publication 800-57 Part 3, 2048-bit RSA is still considered acceptably secure. Generally, we would want to go above and beyond such recommendations (e.g. by using 3072 or 4096 bits) but there is a computational cost associated with that may not be worth paying, considering that:
There should not be any truly secure information (e.g. seeds or private keys) that gets relayed to the server anyways over these RPCs.
Definition at line 47 of file make_SSLContext.cpp.
      
  | 
  staticconstexpr | 
The default DH parameters.
These were generated using the OpenSSL command: openssl dhparam 2048 by Nik Bougalis nikb@.nosp@m.boug.nosp@m.alis..nosp@m.net on May, 29, 2022.
It is safe to use this, but if you want you can generate different parameters and put them here. There's no easy way to change this via the config file at this time.
Definition at line 61 of file make_SSLContext.cpp.
| std::string const ripple::openssl::detail::defaultCipherList = "TLSv1.2:!CBC:!DSS:!PSK:!eNULL:!aNULL" | 
The default list of ciphers we accept over TLS.
Generally we include cipher suites that are part of TLS v1.2, but we specifically exclude:
ssl_ciphers directive in the config file. Definition at line 85 of file make_SSLContext.cpp.