Re #8472 - Added create_sscrt method that creates a self signed certificate
Added 5 unit tests verifying the validity of the certificate generation.