Added certificate text function