forked from coop-cloud/authentik
add function to output certificate
This commit is contained in:
parent
17d40711e0
commit
a0505e0dec
9
abra.sh
9
abra.sh
@ -223,3 +223,12 @@ Brand.objects.filter(default=True).delete()
|
|||||||
""" 2>&1 | quieten
|
""" 2>&1 | quieten
|
||||||
apply_blueprints
|
apply_blueprints
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get_certificate() {
|
||||||
|
/manage.py shell -c """
|
||||||
|
kimai = Provider.objects.filter(name='Kimai').first()
|
||||||
|
saml = kimai.samlprovider
|
||||||
|
cert = saml.signing_kp
|
||||||
|
print(cert.certificate_data)
|
||||||
|
""" 2>&1 | quieten
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user