Score:0

How do I configure apache, so that my client certificate authentication works for two specific URLs only?

lr flag

I'm following this guide in order to establish client-based, certificate authentication on my website.

The goal: Allow 2 users access to 2 specific URLs: /login and /admin. When any of the 2 users access the mentioned locations, they need to provide a certificate that identifies them (imported via a .pfx file).

I completed seven steps of the guide. The 8th step deals with adjusting the apache config. The issue is that the guide adjusts the config cross-host, while I only need the certificate authentication to be active when one of the two URLs (above) is accessed.

How do I configure this?

Brandon Xavier avatar
us flag
Step 6 wasn't very clear. You can place the `SSLVerifyClient` in .htaccess files in the /login and /admin directories, or in '<Directory . . .>' sections for granular control. If you're concerned about step 8, that directive can be put in your virtual host config to only affect a single host.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.