Solved localhost not able to check CA certificate