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