\r
echo make a certificate request using 'req'\r
%reqcmd% -config %CAconf% -out %CAreq% -keyout %CAkey% -new\r
-if errorlevel 1 goto err_req\r
+if errorlevel 1 goto e_req\r
\r
echo convert the certificate request into a self signed certificate using 'x509'\r
%x509cmd% -CAcreateserial -in %CAreq% -days 30 -req -out %CAcert% -signkey %CAkey% >err.ss\r
-if errorlevel 1 goto err_x509\r
+if errorlevel 1 goto e_x509\r
\r
echo --\r
echo convert a certificate into a certificate request using 'x509'\r
%x509cmd% -in %CAcert% -x509toreq -signkey %CAkey% -out %CAreq2% >err.ss\r
-if errorlevel 1 goto err_x509_2\r
+if errorlevel 1 goto e_x509_2\r
\r
%reqcmd% -verify -in %CAreq% -noout\r
-if errorlevel 1 goto err_verify_1\r
+if errorlevel 1 goto e_vrfy_1\r
\r
%reqcmd% -verify -in %CAreq2% -noout\r
-if errorlevel 1 goto err_verify_2\r
+if errorlevel 1 goto e_vrfy_2\r
\r
%verifycmd% -CAfile %CAcert% %CAcert%\r
-if errorlevel 1 goto err_verify_3\r
+if errorlevel 1 goto e_vrfy_3\r
\r
echo --\r
echo make another certificate request using 'req'\r
%reqcmd% -config %Uconf% -out %Ureq% -keyout %Ukey% -new >err.ss\r
-if errorlevel 1 goto err_req_gen\r
+if errorlevel 1 goto e_req_gen\r
\r
echo --\r
echo sign certificate request with the just created CA via 'x509'\r
%x509cmd% -CAcreateserial -in %Ureq% -days 30 -req -out %Ucert% -CA %CAcert% -CAkey %CAkey% -CAserial %CAserial%\r
-if errorlevel 1 goto err_x509_sign\r
+if errorlevel 1 goto e_x_sign\r
\r
%verifycmd% -CAfile %CAcert% %Ucert%\r
echo --\r
\r
goto end\r
\r
-:err_req\r
+:e_req\r
echo error using 'req' to generate a certificate request\r
goto end\r
-:err_x509\r
+:e_x509\r
echo error using 'x509' to self sign a certificate request\r
goto end\r
-:err_x509_2\r
+:e_x509_2\r
echo error using 'x509' convert a certificate to a certificate request\r
goto end\r
-:err_verify_1\r
+:e_vrfy_1\r
echo first generated request is invalid\r
goto end\r
-:err_verify_2\r
+:e_vrfy_2\r
echo second generated request is invalid\r
goto end\r
-:err_verify_3\r
+:e_vrfy_3\r
echo first generated cert is invalid\r
goto end\r
-:err_req_gen\r
+:e_req_gen\r
echo error using 'req' to generate a certificate request\r
goto end\r
-:err_x509_sign\r
+:e_x_sign\r
echo error using 'x509' to sign a certificate request\r
goto end\r
\r