Score:0

apache ssl file locations in 1 location in configs

fr flag

I have a handful of virtual hosts configured in apache. Everything is working as it should. I have an admin type question. Where can i put the path for SSL cert files so that I only have to put it in 1 place as opposed to below (each vhost i setup)?

<VirtualHost *:443>
    ServerName url1.domain.copm
    DocumentRoot /var/www/html/url1/
    ServerAlias url1.domain.com
    ErrorLog "/var/log/httpd/url1_error_log"
    SSLEngine on
    SSLCertificateFile "/etc/pki/tls/certs/certsFolder/someCert.crt"
    SSLCertificateKeyFile "/etc/pki/tls/certs/certsFolder/someKey.key"
    SSLCACertificateFile "/etc/pki/tls/certs/certsFolder/someCA.crt"
    ....
</VirtualHost>

<VirtualHost *:443>
    ServerName url2.domain.copm
    DocumentRoot /var/www/html/url2/
    ServerAlias url2.domain.com
    ErrorLog "/var/log/httpd/url2_error_log"
    SSLEngine on
    SSLCertificateFile "/etc/pki/tls/certs/certsFolder/someCert.crt"
    SSLCertificateKeyFile "/etc/pki/tls/certs/certsFolder/someKey.key"
    SSLCACertificateFile "/etc/pki/tls/certs/certsFolder/someCA.crt"
  ......
</VirtualHost>


<VirtualHost *:443>
    ServerName url3.domain.copm
    DocumentRoot /var/www/html/url3/
    ServerAlias url3.domain.com
    ErrorLog "/var/log/httpd/url3_error_log"
    SSLEngine on
    SSLCertificateFile "/etc/pki/tls/certs/certsFolder/someCert.crt"
    SSLCertificateKeyFile "/etc/pki/tls/certs/certsFolder/someKey.key"
    SSLCACertificateFile "/etc/pki/tls/certs/certsFolder/someCA.crt"
    .....
</VirtualHost>
I sit in a Tesla and translated this thread with Ai:

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.