title: Sending the Certificate Signing Request to CSR in Java
body: <p>I am trying to migrate a Certification Management tool from .net to Java. I am stuck at the place when we have to get the "Certificate Signing Request" to be signed by CA.</p>
  
  <p>The .net code seems to use a com component to do that.</p>
  
  <pre><code>set ICertRequest = Server.CreateObject("CertificateAuthority.Request")
  set ICertConfig  = Server.CreateObject("CertificateAuthority.Config") 
  
  ConfigString    = ICertConfig.GetConfig(0)
  PKCS10          = request.Form("CertRequest")
  SubmitFlag      = request.Form("SubmitFlag")
  GetCertFlag     = request.Form("GetCertFlag")
  ControlType     = request.Form("ControlType")
  
  DispositionCode = ICertRequest.Submit(SubmitFlag, PKCS10, "", ConfigString)
  </code></pre>
  
  <p>I am trying to find how to do this in Java. Any help is appreciated. </p>