Automatically generating X.509 certificate based on RSA keypair generated by 'pycrypto' (also a few more uncaught typos). Peer test passes, apparent regression on 'ClientEncryption.complex_test()'