TestCA should respect X509 64 bytes subject name limit
In arcctl TestCA.py https://source.coderefinery.org/nordugrid/arc/blob/master/src/utils/python/arc/control/TestCA.py#L58 the hostname is prepended with ARC and appended Test CA.
I realized this is a problem when the hostname itself is long, such that the total number of characters extends the allowed 64 for x509 certificates.
Also @aleksandr.konstantinov mentions "If certificate is supposed to work on server it should be /CN=hostname only."
What do you think? Any good reasons why to keep the extention of the subject name?
Edited by Andrii Salnikov