Added parameters to control CA expiration time