У меня есть такая таблица
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="TitleBar">Generate CSR</td>
</tr>
</table>
<table cellspacing="0" border="0" width="100%">
<tr>
<td>Country Name(only two letters) :</td>
<td >
<input name="countryname" type="text" id="countryname" MaxLength="2"/>
</td>
</tr>
<tr>
<td>State or Province Name :</td>
<td>
<input name="province" type="text" id="province"/>
</td>
</tr>
<tr>
<td>Locality Name :</td>
<td >
<input name="localityname" type="text" id="localityname"/>
</td>
<tr>
<td>Organization Name :</td>
<td>
<input name="organizationname" type="text" class="style16" id="organizationname"/>
</td>
</tr>
<tr>
<td>Organizational Unit Name :</td>
<td >
<input name="organizationunit" type="text" id="organizationunit"/>
</td>
</tr>
<tr>
<td>Common Name :</td>
<td>
<input name="commonname" type="text" id="commonname"/>
</td>
</tr>
<tr>
<td>Email Address :</td>
<td >
<input name="email" type="text" id="email"/>
</td>
</tr>
<tr>
<td style="padding-top:15px padding-bottom:10px" align="right">
<input name="gencsr" type="submit" id="button" value="Generate CSR" class="FormButton" />
</td>
</tr></table>
После ввода всей информации, я хочу сгенерировать запрос сертификата
В следующем пути, что я могу сделать?
#Generating a cert request
openssl req -new -nodes -out /portal/data/config/certificate/vendor/requests/couffin-req.pem -keyout /portal/data/config/certificate/vendor/requests/couffin-req.key -subj "/C=IN/ST=MAHARASHTRA/L=MUMBAI/O=Couffin Inc/OU=Sales/CN=www.couffin.itpl" -config /portal/data/config/certificate/vendor/openssl.cnf
#Signing a cert request
openssl ca -policy policy_anything -batch -out /portal/data/config/certificate/vendor/certs/couffin-cert.pem -config /portal/data/config/certificate/vendor/conf/openssl.cnf -infiles /portal/data/config/certificate/vendor/requests/couffin-req.pem
Примечание: - Я хочу сделать в системных программах командной строки