New certificate_authorities functions