You could use the RSA class directly, but it is very common with XML digital signatures to see an X.509 certificate used to share keys. For now, let’s use an in-memory key and a self-signed certificate. In production, you’ll want to use something long-lived and shareable. For ...
I really was not interested in doing all that manual SSL setup, so I simply created a load balancer, and pointed the DNS at the load balancer. With DigitalOcean, for example, creating an auto-renewing self-signed certificate on a load balancer is simple, free, and instant, and has the ...