certnanny / sscep

SSCEP is a command line client for the SCEP protocol
Other
175 stars 92 forks source link

sscep enroll server response status code: 500, MIME header: missing #167

Closed leprechuan closed 1 year ago

leprechuan commented 1 year ago

Hi, trying to enroll cert for the first time but getting failure response : server response status code: 500, MIME header: missing. Unsure if this s a client och server error, full log output:

./sscep enroll -v -u http://app-scepman-tlab2.azurewebsites.net/certsrv/mscep/mscep.dll/pkiclient.exe -c ca.crt -k local.key -r local.csr -l local.crt ./sscep: starting sscep, version 0.10.0 ./sscep: new transaction ./sscep: transaction id: D41D8CD98F00B204E9800998ECF8427E ./sscep: hostname: app-scepman-tlab2.azurewebsites.net ./sscep: directory: certsrv/mscep/mscep.dll/pkiclient.exe ./sscep: port: 80 ./sscep: SCEP_OPERATION_GETCAPS ./sscep: connecting to app-scepman-tlab2.azurewebsites.net:80 ./sscep: server response status code: 200, MIME header: text/plain AES POSTPKIOperation SHA-256 SCEPStandard ./sscep: Read request with transaction id: 6739BEEB73F3AD33C306F98C60C6851F ./sscep: generating selfsigned certificate ./sscep: requesting certificate with serial number 0 and issuer /O=tlab2/OU=e22e48e9-79ae-491b-9423-a6f297d75968/CN=SCEPman-Root-CA-V1 ./sscep: SCEP_OPERATION_ENROLL ./sscep: sending certificate request ./sscep: request data dump -----BEGIN CERTIFICATE REQUEST----- MIIBwjCCASsCAQAwNjE0MDIGA1UEAwwraHR0cHM6Ly9hcHAtc2NlcG1hbi10bGFi Mi5henVyZXdlYnNpdGVzLm5ldDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA w/NlsqLuhET00SFw6WKkLODTrpjoErzeBFVptxYaNsRPo9vcv7Re4P/XWsNw9Rux EQW389ckSfRqvQlGZE5FCrwvOwj0JRwW1jPluN8BCxKcOCJxCWbcpmh7OhwOUnnq bOgdBt42I+UaKO++sxenU+E4NmABw/Bpjd80E/zRkBUCAwEAAaBMMEoGCSqGSIb3 DQEJDjE9MDswOQYDVR0RAQH/BC8wLYIraHR0cHM6Ly9hcHAtc2NlcG1hbi10bGFi Mi5henVyZXdlYnNpdGVzLm5ldDANBgkqhkiG9w0BAQsFAAOBgQDBrnhczuuzDVmV XMnB0u3N1mLv/W2ONSL3bV9EKARvc8EAU4rxJbFQjx7Co3k6/E0RDubQgymRsJeI Mhvfp8nTwb+iaBFLFGdsFGCZEj6h0fORG6UrpWtvZot9v3yZ8AxjbMHOVaW81vYn NPbJuXXLzaovTxMb6YVT0cqL9/+hSA== -----END CERTIFICATE REQUEST----- ./sscep: data payload size: 454 bytes ./sscep: successfully encrypted payload ./sscep: envelope size: 940 bytes ./sscep: creating outer PKCS#7 ./sscep: PKCS#7 data written successfully ./sscep: payload size: 2001 bytes ./sscep: connecting to app-scepman-tlab2.azurewebsites.net:80 ./sscep: server response status code: 500, MIME header: missing ./sscep: wrong (or missing) MIME content type ./sscep: error while sending message

leprechuan commented 1 year ago

Was a server side issue so closing