Added log messages for self-signed certificate generation.