]> code.citadel.org Git - citadel.git/commitdiff
Self-signed cert now uses a wildcard name
authorArt Cancro <ajc@citadel.org>
Mon, 17 Jul 2006 17:18:52 +0000 (17:18 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 17 Jul 2006 17:18:52 +0000 (17:18 +0000)
citadel/serv_crypto.c

index 60079aff430c8243539d009f8e464579e63e419c..8b9c423f324f2722c2887bbf7bec97d52ad1c68d 100644 (file)
@@ -234,8 +234,12 @@ void init_ssl(void)
                                        X509_NAME_add_entry_by_txt(name, "OU",
                                                MBSTRING_ASC, "Citadel server", -1, -1, 0);
 
-                                       X509_NAME_add_entry_by_txt(name, "CN",
+                                       /* X509_NAME_add_entry_by_txt(name, "CN",
                                                MBSTRING_ASC, config.c_fqdn, -1, -1, 0);
+                                       */
+
+                                       X509_NAME_add_entry_by_txt(name, "CN",
+                                               MBSTRING_ASC, "*", -1, -1, 0);
                                
                                        X509_REQ_set_subject_name(req, name);