This change makes easier the configuration of cloudCAS as it does not require to configure the root or intermediate certificate in the ca.json. CloudCAS will get the root certificate using the configured certificateAuthority.
Remove commented code and initialize CAS properly. Minor fixes in CloudCAS.