Added tests for https and setting Certificate Authority;
Added functionality to set request Certificate Authority;