Security warning when using "ipa-kra-install", "ipa-ca-install", or "ipa-replica-install"
When using the "ipa-kra-install", "ipa-ca-install", and "ipa-replica-install" utilities to install an additional key recovery authority (KRA) component, certificate authority, or replica, the following warning appears:
SecurityWarning: Certificate has no `subjectAltName`,
falling back to check for a `commonName` for now.
This feature is being removed by major browsers and deprecated by RFC 2818.
The error occurs due to RFC 2818, which deprecates the practice of carrying the subject host name in the subject distinguished name (DN) common name (CN) field. However, the three utilities succeed. Therefore, you can ignore the warning message.
Description of problem:
When Installing a second KRA on an IPA Replica, I see this warning:
/usr/lib/python2.7/site-packages/urllib3/connection.py:251: SecurityWarning: Certificate has no `subjectAltName`, falling back to check for a `commonName` for now. This feature is being removed by major browsers and deprecated by RFC 2818. (See https://github.com/shazow/urllib3/issues/497 for details.)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
appears to work but, throws above warning
No warning was expected so I'm raising this here.
If this is a non-issue, we may still want to document this as expected behavior in release notes.
FYI, I saw the same on ipa-ca-install and ipa-replica-install. I missed that before but, looking back through an install, I do see it in both places as well.
This issue was fixed with the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1562423 SAN in internal SSL server certificate in pkispawn configuration step
The fix was done on 7.6 and backported to 7.5 z-stream.
Closing as CURRENTRELEASE.