From 79c6a0f342abca18750312b55cb1d61ef8dd5619 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 25 Oct 2021 18:15:53 +0000 Subject: [PATCH] acmed: tokenize domains from subject also with spaces (fixed multidom cert) --- sys/src/cmd/ip/acmed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/ip/acmed.c b/sys/src/cmd/ip/acmed.c index 15e147b28..1f1dea3e2 100644 --- a/sys/src/cmd/ip/acmed.c +++ b/sys/src/cmd/ip/acmed.c @@ -756,7 +756,7 @@ getcert(char *csrpath) sysfatal("decode csr: %r"); if((csr = encurl64(der, nder)) == nil) sysfatal("encode %s: %r", csrpath); - if((ndom = getfields(name, dom, nelem(dom), 1, ",")) == nelem(dom)) + if((ndom = getfields(name, dom, nelem(dom), 1, ", ")) == nelem(dom)) sysfatal("too man domains"); rsapubfree(rsa); close(fd);