X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Fpages%2Faccount%2Fdomain%2FPingConfigForm.templ;h=f8f700f369b427041888d03802be5b9671e4e935;hp=7d2eb5dc8412622dc1790c4bbaa4800694a42318;hb=67bdb3b1fd3ff821d00715bf2a7ed90ca7a7a664;hpb=d5fb8dbb319e9d94e15380456a38e00b2a886f04 diff --git a/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ b/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ index 7d2eb5dc..f8f700f3 100644 --- a/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ +++ b/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ @@ -14,13 +14,13 @@
=$tokenName?>._cacert._auth IN TXT =$tokenValue?>+
=$tokenName?>.=$dnsPrefix?>._auth IN TXT =$tokenValue?>
http://example.org/cacert-=$tokenName?>.txt
http://example.org/=$httpPrefix?>=$tokenName?>.txt
=$tokenValue?>
+openssl req -newkey rsa:4096 -subj "/CN=example.org/OU==$tokenValue?>" -nodes -out myCSR -keyout myKey
+openssl x509 -req -in myCSR -signkey myKey -out myCert -extfile <(printf 'extendedKeyUsage = serverAuth\n')
+