T
T
tayanov2016-11-02 12:31:40
linux
tayanov, 2016-11-02 12:31:40

How to set up a single directory Apache server with a secure connection?

Good afternoon.
There is a home server with Apache.
On which web muzzles useful to me hang.
Among them is keeweb
This is the web version of the keepass application.
The problem is that I'm not very strong in apache and when loading the page myserver.ru/keeweb I see a message that the connection is not secure. It’s not safe and your passwords can be intercepted ... (although you can continue to work, it just doesn’t come out comme il faut)
However, there is no suggestion on how to convert the page display to https (as I understand it)
I tried to add something to htacsess but it didn’t help.
The page is not accessible via https.
The matter is that I do not want to start the separate virtual server. And I want to transfer the work of only one directory to https.
Actually how?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
SagePtr, 2016-11-02
@SagePtr

You can try letsencrypt, it should do everything for you and add a certificate to the Apache config.

S
Sergey Zelensky, 2016-11-02
@SergeyZelensky-Rostov

you need an ssl certificate, then configure apache to work with the certificate and everything is fine, the certificate is issued for the domain, in your case on myserver.ru, you can get a free certificate from let`s Encrypt and google for setting up apache

C
CityCat4, 2016-11-02
@CityCat4

And why did you decide that someone would write instructions for you? This is your server, what lies on it is displayed, no one will write any instructions to you.
It will not be possible to translate one directory - https is a separate server with a separate additional set of settings regarding encryption, certificates, etc. It can only be extended to one directory, but it will still be a separate server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question