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=62cb70fd3319989aec7c830653e6f8597efed8f9;hb=67bdb3b1fd3ff821d00715bf2a7ed90ca7a7a664;hpb=1a38c59118d82489dc7621a05f754ec950bd42f9 diff --git a/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ b/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ index 62cb70fd..f8f700f3 100644 --- a/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ +++ b/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ @@ -1,6 +1,6 @@
=$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')
+