Www https error

Hello community i am getting a small error please help me to fix this issue

When i create website domain is - example. com and ssl also create with same
but i need www also when i redirect at www got ssl error www A record point successfully.
How to generate www https also like https://www.example.com and https://example. com