Fixing bug for duration of client certificate