Adding security in Atlas

I created an openssl certificate to add SSL/TLS for Atlas over tomcat server and added the connector port details in tomcat’s server.xml using port 443.
When I try to open https://localhost/WebAPI/source/sources, I get error 401.

I have added details of my settings.xml, server.xml, screenshot for WebAPI and Atlas in following post.

I haven’t received any response there , so posting it here.
Please help.

TIA