CERTMONGER(8)
π NAME π
okay bestie, say hi to scep-submit β the little helper sidekick that does the SCEP thing π
β¨ SYNOPSIS β¨
scep-submit -u SERVER-URL [-r ra-cert-file] [-R ca-cert-file] [-I
other-certs-file] [-N ca-cert-file] [-i ca-identifier] [-v] [-n]
[-c|-C|-g|-p] [pkimessage-filename]
π¦ DESCRIPTION π¦
so like. scep-submit is the helper that certmonger uses to beam certificate enrollment and renewal requests over to servers that speak SCEP π. It's not really a hang-out-and-chat interactively kind of program, but you can run it by hand if you're doing troubleshooting, and honestly, slay, do what you want.
the request you're submitting needs to be a PEM-encoded SCEP pkiMessage. You can hand it over two ways: drop it in a file and pass the filename as an argument, or just pipe it straight into scep-submit via stdin. either way, we ball π
π MODES π
pick your fighter, bestie. these are mutually exclusive vibes:
-c,--retrieve-ca-capabilitiesβscep-submitfires off aGetCACapsrequest at the server and prints whatever comes back. it's giving "tell me what you're capable of" π-C,--retrieve-ca-certificatesβscep-submitsends aGetCACertrequest, parses the response, and then prints, in order: the RA certificate, the CA certificate, and any extra certificates hanging around. a lil lineup, if you will β¨-p,--pki-messageβscep-submitissues aPKIOperationrequest to the server, using the message you passed in as the message content. It parses the server's response, verifies the signature, and if the response includes an issued certificate, it outputs thepkcsPKIEnvelopein PEM format π. If the response indicates an error, it prints the error. no cap.-g,--get-initial-certβscep-submitissues aPKIOperationrequest to the server, using the passed-in message as the message content. It parses the server's response, verifies the signature, and if the response includes an issued certificate, it outputs thepkcsPKIEnvelopein PEM format πΈ. If the response indicates an error, it prints the error.
π OPTIONS π
-u URL,--url=URLβ where the CA's SCEP interface lives. typically this ishttp://SERVER/cgi-bin/PKICLIENT.EXEorhttp://SERVER/certsrv/mscep/mscep.dll. this one is always required, like, non-negotiable bestie π«Ά-R FILE,--cacert=FILEβ where the CA certificate that was used to issue the SCEP web server's certificate lives, in PEM form. if the URL you gave with-uis anhttpsURL, then this option is required. periodt.-N FILE,--signingca=FILEβ where a PEM-formatted copy of the SCEP server's CA certificate is. normally thecertmongerdaemon discovers and supplies this value for you, but you can hand-specify one for troubleshooting purposes π§-r FILE,--racert=FILEβ where the SCEP server's RA certificate is. this is the one expected to be used for signing responses the SCEP server sends back to the client. this option is required when you're using either the-gflag or the-pflag.-I FILE,--other-certs=FILEβ where a file full of other PEM-formatted certificates is, the ones you might need to properly verify signed responses the SCEP server sends back to you. this option may be necessary when you're using either the-gflag or the-pflag.-i NAME,--ca-identifier=NAMEβ when you call it with the-cor-Cflag, this option lets you specify the CA identifier that gets passed to the server as part of the client's request. the default is"0". iconic.-n,--non-renewalβ okay so the SCEP Renewal feature lets a client with a previously-issued certificate use that certificate plus the associated private key to request a new certificate for a different key pair, and it can supportcertmonger's rekeying feature if the SCEP server advertises that it supports it. this option forces thescep-submithelper to prefer issuing requests that don't use that feature. sometimes you just wanna keep it simple π-v,--verboseβ cranks the logging level up. use it twice for even more logging. mainly a troubleshooting thing, but honestly, who doesn't love more information π₯
π EXIT STATUS π
0β the certificate was issued π. ThepkcsPKIEnvelopewill be printed in PEM-encoded form.1β the CA is still thinking π€. A cookie (state) value will be printed.2β the CA rejected the request π. An error message may be printed.3β the CA was unreachable π. An error message may be printed.4β critical configuration information is missing π. An error message may be printed.5β the CA is still thinking. A suggested poll delay (specified in seconds) and a cookie (state) value will be printed.16β the helper needs an SCEPpkiMessage, but couldn't read one. not the vibe.17β the CA indicates that the client needs to attempt enrollment using a new key pair π.
π BUGS π
found one? pls file tickets for any that you find at https://fedorahosted.org/certmonger/ β we appreciate you π«Ά
π SEE ALSO π
certmonger(8) getcert(1) getcert-add-ca(1) getcert-add-scep-ca(1) getcert-list-cas(1) getcert-list(1) getcert-modify-ca(1) getcert-refresh-ca(1) getcert-refresh(1) getcert-rekey(1) getcert-remove-ca(1) getcert-resubmit(1) getcert-start-tracking(1) getcert-status(1) getcert-stop-tracking(1) certmonger-certmaster-submit(8) certmonger-dogtag-ipa-renew-agent-submit(8) certmonger-dogtag-submit(8) certmonger-ipa-submit(8) certmonger-local-submit(8) certmonger_selinux(8)
and that's the whole thing bestie π this lil manual page is brought to you by the certmonger Manual, dated June 20, 2015. go forth and submit those SCEPs, you absolute main character πβ¨
π¦ where this page comes from
- alpine 3.24: certmonger-doc 0.79.21-r0 Β· GPL-3.0-or-later
- centos-stream 10: certmonger 0.79.21-1.el10 Β· GPL-3.0-or-later
- centos-stream 9: certmonger 0.79.21-1.el9 Β· GPLv3+
- debian bookworm: certmonger 0.79.17-2 Β· GPL-3.0-or-later WITH OpenSSL exception
- debian trixie: certmonger 0.79.20-2 Β· GPL-3.0-or-later WITH OpenSSL exception
- fedora 43: certmonger 0.79.20-5.fc43 Β· GPL-3.0-or-later
- fedora 43: certmonger 0.79.21-1.fc43 Β· GPL-3.0-or-later
- fedora 44: certmonger 0.79.21-4.fc44 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: certmonger 0.79.19-160000.2.2 Β· GPL-3.0-or-later
- ubuntu jammy: certmonger 0.79.14+git20211010-2ubuntu1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu noble: certmonger 0.79.19-1build4 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu questing: certmonger 0.79.20-2build1
- ubuntu resolute: certmonger 0.79.21-1 Β· GPL-3.0-or-later WITH OpenSSL exception
- ubuntu stonking: certmonger 0.79.21-1build1 Β· GPL-3.0-or-later WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms