man(8)
π man(8) β mellon_create_metadata, bestie edition π
okay so you're in section 8 of the manual, and we're talking about mellon_create_metadata from the mellon_create_metadata manual page. pull up a chair, grab a strawberry π, we're setting up some SAML and it's gonna be adorable.
β¨ NAME β¨
mellon_create_metadata β the lil glow-up tool that populates your initial SP metadata for mod_auth_mellon π¦
πΈ SYNOPSIS πΈ
mellon_create_metadata ENTITY-ID ENDPOINT-URL
that's it. two arguments. two!! you got this, no cap.
π DESCRIPTION π
so the Apache module mod_auth_mellon is out here providing a SAML 2.0 service provider (SP) β that's the whole vibe. but here's the thing, bestie: a service provider needs metadata to function. it simply cannot slay without it. π
and that's literally where mellon_create_metadata comes in β it creates the initial configuration for you. β¨
when you run it, three files show up in the current directory:
- a public key π
- a private key π (keep this one safe fr fr)
- a boilerplate metadata xml file π β and this one already has the public key and the URLs of this installation baked in, and you can edit it further at will, whenever, however, it's yours
the way you reference these in your config options, in order:
MellonSPPrivateKeyFileβ the private key file πMellonSPCertFileβ the cert file πMellonSPMetadataFileβ the metadata file π
respectively. yes, in that order. iykyk. π
π OPTIONS π
okay so technically these are the two positional arguments, and they are not optional, so let's give them the main character energy they deserve:
ENTITY-IDβ this is the entity ID you want for your SP, and listen: it needs to be globally unique. globally!! so it's an URL or a URN, probably with your own domain in it. no duplicates, that's the rule. πENDPOINT-URLβ the full URL to your mellon installation. it normally ends with"/mellon"unless you've configured it otherwise. that's it, that's the note. π¦
β EXAMPLE β
here's a whole moment, an actual example, look at her go:
mellon_create_metadata urn:someservice https://sp.example.org/mellon
ate. no notes. π₯
π«Ά AUTHOR π«Ά
this iconic human made it: Thijs Kinkhorst <thijs.kinkhorst@surfnet.nl>
and that's the whole page, bestie β version 1.0, dated 25 January 2020, living its life as part of the mellon_create_metadata manual page in section 8 of the manual. go forth and make some metadata, you absolute legend. πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- debian bookworm: libapache2-mod-auth-mellon 0.18.1-1 Β· GPL-2.0-or-later WITH OpenSSL exception
- debian trixie: libapache2-mod-auth-mellon 0.19.1-1 Β· GPL-2.0-or-later WITH OpenSSL exception
- ubuntu jammy: libapache2-mod-auth-mellon 0.18.0-1build1 Β· GPL-2.0-or-later WITH OpenSSL exception
- ubuntu jammy: libapache2-mod-auth-mellon 0.18.0-1ubuntu0.1 Β· GPL-2.0-or-later WITH OpenSSL exception
- ubuntu noble: libapache2-mod-auth-mellon 0.19.0-1build3 Β· GPL-2.0-or-later WITH OpenSSL exception
- ubuntu questing: libapache2-mod-auth-mellon 0.19.1-1
- ubuntu resolute: libapache2-mod-auth-mellon 0.19.1-1build1 Β· GPL-2.0-or-later WITH OpenSSL exception
- ubuntu stonking: libapache2-mod-auth-mellon 0.19.1-1.1build1 Β· GPL-2.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