# CentOS 7 - SSLCertificateChainFile directive is deprecated? Should we change this?

**URL:** <https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120>\
**Category:** General Inquries\
**Created:** [January 7, 2017, 9:23am UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120 "2017-01-07T09:23:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justec](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@Justec](https://forums.interworx.com/u/Justec)\
**Post date:** [January 7, 2017, 9:23am UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/1 "2017-01-07T09:23:51Z")

</div>

This warning comes up when looking at the apache startup status:  
The SSLCertificateChainFile directive (ssl.conf) is deprecated, SSLCertificateFile should be used instead

Should this be SSLCertificateChainFile be swapped out for SSLCertificateFile?

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [January 7, 2017, 12:15pm UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/2 "2017-01-07T12:15:32Z")

</div>

Hi Justin

Yes, it sounds correct and I’ll email Iw tommorow with this thread

Many thanks

John

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [January 9, 2017, 11:37am UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/3 "2017-01-09T11:37:05Z")

</div>

Hi Justin

Iw Jenna has just emailed confirming you are correct. Deprecated on Apache 2.4

Many thanks

John

---

<div class="post-metadata">

**Author:** ![Justec](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@Justec](https://forums.interworx.com/u/Justec)\
**Post date:** [January 9, 2017, 12:04pm UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/4 "2017-01-09T12:04:12Z")

</div>

Good to know, I’ve changed my ssl.conf to SSLCertificateChainFile with SSLCertificateFile and everything is running fine.

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [January 12, 2017, 10:42am UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/5 "2017-01-12T10:42:55Z")

</div>

Hi! Just wanted to make an update, here, that I was able to reproduce the SSLCertificateChainFile directive error after adding a chain certificate–it did not happen by default. A bug report is now on file. Thanks for letting us know! 🙂

---

<div class="post-metadata">

**Author:** ![Justec](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@Justec](https://forums.interworx.com/u/Justec)\
**Post date:** [January 12, 2017, 1:41pm UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/6 "2017-01-12T13:41:00Z")

</div>

So is changing “SSLCertificateChainFile with SSLCertificateFile” a fix for now?

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [January 12, 2017, 2:07pm UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/7 "2017-01-12T14:07:46Z")

</div>

Hi Justin

I believe so

If I understand Jenna correctly, the bug report is to correct the entry that is created when adding chains i.e. Set the correct directive

Many thanks

John

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [January 13, 2017, 9:01am UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/8 "2017-01-13T09:01:31Z")

</div>

> [@Justec;29421](#):
>
> So is changing “SSLCertificateChainFile with SSLCertificateFile” a fix for now?

Yes, that is the fix. The bug report is to make that happen by default.

---

<div class="post-metadata">

**Author:** ![Justec](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@Justec](https://forums.interworx.com/u/Justec)\
**Post date:** [January 18, 2017, 5:23pm UTC](https://forums.interworx.com/t/centos-7-sslcertificatechainfile-directive-is-deprecated-should-we-change-this/14120/9 "2017-01-18T17:23:28Z")

</div>

It appears that my file was updated, but now it has both of these? So when restarting apache you can still see that warning.
