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=16c50a3e53a8bb742d2f3d0d90bf7b692f5f50e5;hb=67bdb3b1fd3ff821d00715bf2a7ed90ca7a7a664;hpb=52bad029da3feab0c54d0a84cac4d2c29d0b3297 diff --git a/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ b/src/org/cacert/gigi/pages/account/domain/PingConfigForm.templ index 16c50a3e..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')
+