Thanks Viktor. That’s a nice script. FWIW, I’ve solved this through a simple HTTP POST in Ansible; - name: enable SSL for admin server
uri:
url: "http://127.0.0.1:{{ dirsrv_port_admin }}/admin-serv/tasks/configuration/SSLActivate" method: POST
url_username: "{{ dirsrv_rootdn }} url_password: "{{ dirsrv_rootpw }}"
body_format: 'form-urlencoded'
body:
'security': 'on'
'familyList': 'RSA'
'RSA-activated': 'on'
'RSA-token': 'internal (software)' 'RSA-cert': 'server-cert'
'ssl2-activated': 'off'
'ssl3-activated': 'on' 'clientauth': 'off' 'ssl2': '-des,-rc2export,-rc4export,-desede3,-rc4,-rc2'
'ssl3': '-rsa_rc2_40_md5,-rsa_rc4_128_md5,-rsa_3des_sha,-rsa_rc4_40_md5,-rsa_null_sha,-fips_des_sha,-fips_3des_sha,-rsa_des_sha,-rsa_null_md5,+rsa_aes_128_sha,+rsa_aes_256_sha,-rsa_des_56_sha,-rsa_rc4_56_sha'
timeout: 120 tags:
- ldapds_admin_ssl
notify: restart admin server This worked very well for me and I’m happy with the solution. Cheers Grant From: Viktor Ashirov <vashirov@xxxxxxxxxx>
Hi Grant, On Thu, Nov 7, 2019 at 2:16 AM Grant Byers <Grant.Byers@xxxxxxxxxxxxx> wrote:
Please check this script: Run it as # ./setupssl2.ssh /etc/dirsrv/slapd-INSTANCE HTH
-- Viktor |
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx