check-certificates: strip prefix from issuer CN

This commit is contained in:
Christian Hesse 2019-01-12 00:47:53 +01:00
parent e62fbd2489
commit afeab858d4

View file

@ -13,7 +13,7 @@
:local GetIssuerCN do={
:foreach IssuerI in=$1 do={
:if ([ :pick $IssuerI 0 3 ] = "CN=") do={
:return $IssuerI;
:return [ :pick $IssuerI 3 99 ];
}
}
}