PuppetCA plugin disabled due to settings conflict

Problem:
Recently upgraded from 1.20.0 -> 1.21.x -> 1.22.1. The PuppetCA plugin gets disabled due to a settings conflict
Expected outcome:
PuppetCA functions as normal (viewing/signing Puppet certs)
Foreman and Proxy versions:
1.22.1
Foreman and Proxy plugin versions:
1.22.1
Distribution and version:
RHEL 7.7
Other relevant data:

2019-10-24T13:39:49  [D] 'puppetca' settings: 'enabled': https, 'puppet_version': 5.3, 'ssldir': /etc/puppetlabs/puppet/ssl, 'use_provider': ["puppetca_hostname_whitelisting", :puppetca_puppet_cert]
2019-10-24T13:39:49  [D] 'puppetca' ports: 'http': false, 'https': true
2019-10-24T13:39:49  [D] 'puppet' settings: 'enabled': https, 'puppet_version': 5.3.10, 'use_provider': [:puppet_proxy_puppet_api]
2019-10-24T13:39:49  [D] 'puppet' ports: 'http': false, 'https': true
2019-10-24T13:39:49  [D] Providers ['puppetca_hostname_whitelisting', 'puppetca_puppet_cert'] are going to be configured for 'puppetca'
2019-10-24T13:39:49  [D] Providers ['puppet_proxy_puppet_api'] are going to be configured for 'puppet'
2019-10-24T13:39:49  [E] Disabling all modules in the group ['puppetca_puppet_cert', 'puppetca_hostname_whitelisting', 'puppetca'] due to a failure in one of them: Provider 'puppetca_puppet_cert' settings conflict with the main plugin's settings: [:ssldir]

# cat puppetca.yml 
---
:enabled: https
:ssldir: /etc/puppetlabs/puppet/ssl
:puppet_version: '5.3'
#:use_provider: puppetca_hostname_whitelisting

# cat puppetca_puppet_cert.yml 
---
:ssldir: /etc/puppetlabs/puppet/ssl

# cat puppetca_hostname_whitelisting.yml 
---
:autosignfile: /etc/puppetlabs/puppet/autosign.conf

Turns out that :ssldir: shouldn’t be defined in puppetca.yml, but in puppetca_puppet_cert.yml.

I commented out :ssldir: in puppetca.yml and the plugin worked as expected.

(I also upgraded the proxy to 1.23.0, but I doubt that would have solved the issue.)