X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, (const uint8_t *)"Murmur Autogenerated Certificate v2", -1, -1, 0);
X509_set_issuer_name(x509, name);
SSL_add_ext(x509, NID_basic_constraints, "critical,CA:FALSE");
SSL_add_ext(x509, NID_ext_key_usage, "serverAuth,clientAuth");
SSL_add_ext(x509, NID_subject_key_identifier, "hash");
SSL_add_ext(x509, NID_netscape_comment, "Generated from umurmur");
X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, (const uint8_t *)"Murmur Autogenerated Certificate v2", -1, -1, 0);
X509_set_issuer_name(x509, name);
SSL_add_ext(x509, NID_basic_constraints, "critical,CA:FALSE");
SSL_add_ext(x509, NID_ext_key_usage, "serverAuth,clientAuth");
SSL_add_ext(x509, NID_subject_key_identifier, "hash");
SSL_add_ext(x509, NID_netscape_comment, "Generated from umurmur");