Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
If you modify the default location of Certfnsh.asp page, you must specify the new location through the CERT_REQ_PAGE option in the enrollment .cfg file. By default, Enroll.exe expects Windows 2000 Certificate Server to provide Certfnsh.asp. The following code shows the default Enroll.exe certificate request:
?TargetStoreFlags=0&Mode=newreq&SaveCert=yes&CertRequest=XXXX&CertAttrib= CertificateTemplate%3AUserSignature%0D%0A
The XXXX
is the base64 URL encoded certificate request.
Enroll.exe expects Certfnsh.asp to display a page containing the request number to pick up the issued certificate. The following example shows the default text in the Web page returned by Certfnsh.asp:
certnew.cer?XXX=###&XXX
The XXX
is any variable length text and ###
is the certificate request ID passed to CERT_PICKUP_TEMPLATE.
If you modify Certfnsh.asp, you must change the BuildPutRequest and ParseWebPageToFindReqNo functions in Crypt_web.cpp to match the changes. The Crypt_web.cpp file is located in %_WINCEROOT%\Public\Common\Sdk\Samples\Enroll.
If you change the default location of Certnew.cer, you must specify the new location through the CERT_PICKUP_TEMPLATE option in the enrollment .cfg file. By default, Enroll.exe expects Windows 2000 Certificate Server to provide Certnew.cer. The following example shows the default request to pickup the certificate:
?ReqId=###&Enc=b64
The ###
is the certificate request ID returned from Certfnsh.asp. Enroll.exe expects a valid base64 encoded certificate.
If you modify Certnew.cer, you must change the GetCertFromWebBrowser function in Crypt_web.cpp to match the changes.
See Also
Certificates OS Design Development | Creating an Enrollment Environment | Configuring Enroll.exe
Send Feedback on this topic to the authors