@@ -1619,12 +1619,12 @@ public function configure_xmpp($options = '') {
16191619 // Create SSL Certificate for localhost
16201620 // Ensure no line is left blank
16211621 echo "writing new private key to 'localhost.key' \n----- \n" ;
1622- $ ssl_country = $ this ->free_query ('Country Name (2 letter code) ' , 'AU ' );
1623- $ ssl_locality = $ this ->free_query ('Locality Name (eg, city) ' , 'City Name ' );
1624- $ ssl_organisation = $ this ->free_query ('Organization Name (eg, company) ' , 'Internet Widgits Pty Ltd ' );
1625- $ ssl_organisation_unit = $ this ->free_query ('Organizational Unit Name (eg, section) ' , 'Infrastructure ' );
1626- $ ssl_domain = $ this ->free_query ('Common Name (e.g. server FQDN or YOUR name) ' , $ conf ['hostname ' ]);
1627- $ ssl_email = $ this ->free_query ('Email Address ' , 'hostmaster@ ' .$ conf ['hostname ' ]);
1622+ $ ssl_country = $ this ->free_query ('Country Name (2 letter code) ' , 'AU ' , ' ssl_cert_country ' );
1623+ $ ssl_locality = $ this ->free_query ('Locality Name (eg, city) ' , 'City Name ' , ' ssl_cert_locality ' );
1624+ $ ssl_organisation = $ this ->free_query ('Organization Name (eg, company) ' , 'Internet Widgits Pty Ltd ' , ' ssl_cert_organisation ' );
1625+ $ ssl_organisation_unit = $ this ->free_query ('Organizational Unit Name (eg, section) ' , 'Infrastructure ' , ' ssl_cert_organisation_unit ' );
1626+ $ ssl_domain = $ this ->free_query ('Common Name (e.g. server FQDN or YOUR name) ' , $ conf ['hostname ' ], ' ssl_cert_common_name ' );
1627+ $ ssl_email = $ this ->free_query ('Email Address ' , 'hostmaster@ ' .$ conf ['hostname ' ], ' ssl_cert_email ' );
16281628
16291629 $ tpl = new tpl ('metronome_conf_ssl.master ' );
16301630 $ tpl ->setVar ('ssl_country ' ,$ ssl_country );
0 commit comments