# openssl\_csr, what bit encryption?

**URL:** <https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743>\
**Category:** Ansible Project\
**Created:** [September 4, 2020, 5:07pm UTC](https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743 "2020-09-04T17:07:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZillaYT](https://avatars.discourse-cdn.com/v4/letter/z/4da419/32.png) [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Post date:** [September 4, 2020, 5:07pm UTC](https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743/1 "2020-09-04T17:07:23Z")

</div>

[https://docs.ansible.com/ansible/latest/modules/openssl\_csr\_module.html#notes](https://docs.ansible.com/ansible/latest/modules/openssl_csr_module.html#notes)

I don’t see an option to set either a 2048- or 4096-bit encryption for this module. What does it use?

Thanks, Chris

---

<div class="post-metadata">

**Author:** ![ZillaYT](https://avatars.discourse-cdn.com/v4/letter/z/4da419/32.png) [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Post date:** [September 4, 2020, 5:23pm UTC](https://forum.ansible.com/t/openssl-csr-what-bit-encryption/33743/2 "2020-09-04T17:23:13Z")

</div>

Ah, the option is for the openssl\_privatekey module, which generates a private key, which can then be used to generate a CSR.
