sergiosorias / jscep

Automatically exported from code.google.com/p/jscep
MIT License
0 stars 0 forks source link

Exception thrown trying to connect to MS scep server #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The ms scep server url is:
http://someurl/certsrv/mscep/mscep.dll and does not end in pkiclient.exe

This exception is thrown:
Exception in thread "main" java.lang.IllegalArgumentException: URL should end 
with pkiclient.exe
    at org.jscep.client.Client.validateInput(Client.java:336)
    at org.jscep.client.Client.<init>(Client.java:149)
    at org.jscep.client.Client.<init>(Client.java:126)
    at ScepClient.main(ScepClient.java:75)

The language of:
http://tools.ietf.org/html/draft-nourse-scep-21
says:
   o  CGI-PROG is set to be the string "pkiclient.exe".  This is
      intended to be the program that the CA will use to handle the SCEP
      transactions, though the CA may ignore CGI-PROG and use only the
      CGI-PATH.
Therefore I should be able to hit
http://someurl/certsrv/mscep/ 
and have no exception thrown by the client.

Original issue reported on code.google.com by jone...@gmail.com on 2 Mar 2011 at 5:55

GoogleCodeExporter commented 9 years ago

Original comment by davidgrant41 on 2 Mar 2011 at 7:27

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1124.

Original comment by davidgrant41 on 3 Mar 2011 at 12:12

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 13 Jul 2011 at 6:37

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 13 Jul 2011 at 6:44

GoogleCodeExporter commented 9 years ago

Original comment by da...@grant.org.uk on 21 Aug 2012 at 12:03