how to use RSA instead of DH?