Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to clear up my understanding with you and hope this is not a dumb question. I want to secure apache with SSL certificate and I can do that with certificates. Now there are two ways one is self signed and another by creating my own CA.
In latter approach there will be in total of 5 files:-
server.crt: The self-signed server certificate.
server.csr: Server certificate signing request.
server.key: The private server key, does not require a password when starting Apache.
If created a CA, then will have two additional files:
ca.crt: The Certificate Authority's own certificate.
ca.key: The key which the CA uses to sign server signing requests
Now what I am targeting here is to do a bidirectional authentication in apache. So which files should I make available to client so that it can validate the servers certificates and vice versa.
As per SSL flow:
when browser requests a secure page the web server sends him its public key with its certificate. In this case which one its sending to client browser?
Hi, thanks for that link.
I finally got the clear picture ones I installed and run the whole setup with self signed CA certificate.
I have one question though. I want to do mutual authentication so that both server and client will show each others their certificates. Now I setup SSLVerifyClient require in server setup and can see with wireshark that its asking for certificate from client too but as I didn't setup client certificate part yet so its not working, thats ok.
Now my question is when client will show server his certificate is there any way to trigger a php script from server to fetch the values from that certificate? Because I want to check that with programming.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.