HTTP and HTTPS protocols
You need a certificate (you can buy one , which is usually identified by browsers, or create a self-signed certificate that will raise a warning in browsers) and a server capable of running HTTPS. Servers that support HTTPS allow you to define which pages are served over HTTP and over HTTPS.
HTTPS IS NOT authentication, by the way, only encrypts messages to prevent interception of messages sent between the server and the client.
You can use any authentication method over HTTPS, but you need to provide it (be it HTTP authentication or something in your application.)
Not much to say given your ambiguous question.
source to share
First of all, you need to configure your web server to use https; this, in turn, requires a server certificate. You can either create your own server certificate or buy one from one of the certification authorities. The latter will force the browser to trust that your site is genuine (whereas in the case of something you built yourself, a man-in-the-middle attack or phishing could occur from the browser's point of view).
How to fine tune the server, you need to discuss it on the server.
source to share