We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e7a7a6 commit ac31926Copy full SHA for ac31926
server/src/https.rs
@@ -99,8 +99,10 @@ pub fn request_cert(config: &crate::config::Config) -> Result<(), Error> {
99
tracing::info!("Requesting Let's Encrypt account with {}", email);
100
let acc = dir.account(&email)?;
101
102
+ // Allow all subdomains for this same certificate. Not sure if this works!
103
+ let wildcard_domain = format!("*.{}", &config.opts.domain);
104
// Order a new TLS certificate for a domain.
- let mut ord_new = acc.new_order(&config.opts.domain, &[])?;
105
+ let mut ord_new = acc.new_order(&wildcard_domain, &[])?;
106
107
// If the ownership of the domain(s) have already been
108
// authorized in a previous order, you might be able to
0 commit comments