Too many redirects after installing SSL

After installing SSL certificate, wp-admin is showing Too many redirects error.