Skip to content

Commit

Permalink
Merge pull request freeipa#1305 from rjeffman/ipacert_testfix_key_size
Browse files Browse the repository at this point in the history
ipacert: Fix ipacert tests
  • Loading branch information
t-woerner authored Oct 30, 2024
2 parents a2f59e1 + 57bc35d commit bdcc815
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cert/test_cert_host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

- name: Create CSR
ansible.builtin.shell:
cmd: "openssl req -newkey rsa:1024 -keyout /dev/null -nodes -subj /CN=certhost.{{ ipa_domain }}"
cmd: "openssl req -newkey rsa:2048 -keyout /dev/null -nodes -subj /CN=certhost.{{ ipa_domain }}"
register: host_req

- name: Create CSR file
Expand Down
2 changes: 1 addition & 1 deletion tests/cert/test_cert_service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

- name: Create signing request for certificate
ansible.builtin.shell:
cmd: "openssl req -newkey rsa:1024 -keyout /dev/null -nodes -subj /CN=certservice.{{ ipa_domain }}"
cmd: "openssl req -newkey rsa:2048 -keyout /dev/null -nodes -subj /CN=certservice.{{ ipa_domain }}"
register: service_req

- name: Create CSR file
Expand Down
2 changes: 1 addition & 1 deletion tests/cert/test_cert_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
- name: Crete CSR
ansible.builtin.shell:
cmd:
'openssl req -newkey rsa:1024 -keyout /dev/null -nodes -subj /CN=certuser -reqexts IECUserRoles
'openssl req -newkey rsa:2048 -keyout /dev/null -nodes -subj /CN=certuser -reqexts IECUserRoles
-config <(cat /etc/pki/tls/openssl.cnf; printf "[IECUserRoles]\n1.2.840.10070.8.1=ASN1:UTF8String:hello world")'
executable: /bin/bash
register: user_req
Expand Down

0 comments on commit bdcc815

Please sign in to comment.