Postgres x509 tls certs
Jump to navigation
Jump to search
CREATE OR REPLACE FUNCTION issuer(x509table) returns text LANGUAGE SQL IMMUTABLE AS $$ select issuer_cn FROM extract_x509info($1.x509data); $$;
This can then be found by
SELECT x.issuer FROM x509table x; --works