Mono(httpcfg)

πŸ’– httpcfg β€” the Mono Certificate Management for HttpListener glow-up πŸ’–

okay bestie, welcome to the Mono(httpcfg) era ✨ this is the manual page, and I'm gonna walk you through it like we're texting at 2am 🫢


✨ NAME ✨

httpcfg β€” Mono Certificate Management for HttpListener πŸŽ€


🌸 SYNOPSIS 🌸

httpcfg [options] certificate

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, this tool manages the certificates that the HttpListener embeddable server class uses β€” but only when you've configured HttpListener as an HTTPS server instead of an HTTP server. like, it's the certificate handler for that exact situation, no cap πŸ’…

you must pick one of the possible actions: add, delete or list. there is no "do nothing" option, bestie, you have to commit 😌

when you're adding a certificate (-add), you have to bring the whole friend group of info along:

  • a certificate (with the -cert flag) πŸ’–
  • a Private Key file (with the -pvk argument β€” the filename is typically key πŸ”‘)
  • a port number (with the -port flag)

when you're deleting a certificate (-del or -delete), you only need to hand over the port number. that's it. that's the whole vibe ✨


πŸ‘‘ PARAMETERS πŸ‘‘

  • -add β€” adds a new certificate/private key combination so the HttpListener API can use it at a given port πŸ”₯
  • -del, -delete β€” deletes the certificates associated with the port you specify (and yeah, it must be specified separately, so don't try to sneak it in anywhere else πŸ’€)
  • -list β€” lists every known certificate. a little certificate parade πŸŽ€
  • -port PORT β€” specifies the port to add certificates to, or remove certificates from 🌈
  • -pvk FILE β€” specifies the Private Key file πŸ”‘
  • -cert CERT β€” specifies the certificate file to use πŸ“œ

🌟 EXAMPLES 🌟

here's the moment you've been waiting for, an actual command 🫢

httpcfg -add -port 8081 -pvk myfile.pvk -cert MyCert

and if you wanna know more about creating the certificate file and the private key, the manual says to see this web page:

http://www.mono-project.com/docs/web/using-clientcertificates-with-xsp/

πŸ“ FILES πŸ“

the certificates are stored in the ~/.mono/httplistener directory πŸ’– that's where they live. that's their home. respect it 🏠


πŸ’œ AUTHOR πŸ’œ

httpcfg was written by Gonzalo Paniagua πŸ‘‘


Copyright (C) 2006 Novell.


🧚 MAILING LISTS 🧚

visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details πŸ’Œ


⭐ WEB SITE ⭐

visit http://www.mono-project.com for details 🌐


πŸ’… SEE ALSO πŸ’…

and for the private key format:

http://www.drh-consultancy.demon.co.uk/pvk.html

ok that's literally the whole page, you ate that reading it fr fr πŸ™ˆ

and that's a wrap on Mono(httpcfg), bestie β€” this little masterpiece lives under the Mono(httpcfg) banner and it's iconic, periodt πŸ’–βœ¨πŸ¦‹