Not able to install SSL for www

Right now my site working fine without www with SSL. But how to install SSL for www ?

I already configured siteurl and home in Wordpress options database table.

Site redirecting from non-www to www. but showing SSL error because SSL issued to non www root.