We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If not, is there any plan to add this feature?
The text was updated successfully, but these errors were encountered:
I don't have a need for it so it's not high on my priority list. PRs are welcome though.
Sorry, something went wrong.
Are you looking for the equivalent of the "create internal CA" web configuration, or something different?
If this is related to the possibility to import a CA with a private key, it can be simply implemented : In _validate_params
_validate_params
if params['key'] is not None: ca_key = params['key'] lines = ca_key.splitlines() if lines[0] == '-----BEGIN PRIVATE KEY-----' and lines[-1] == '-----END PRIVATE KEY-----': params['key'] = base64.b64encode(ca_key.encode()).decode() elif not re.match('LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0t', ca_key): self.module.fail_json(msg='Could not recognize CA key format: %s' % (ca_key))
And in _params_to_obj:
_params_to_obj
if 'key' in params and params['key'] is not None: obj['prv'] = params['key']
No branches or pull requests
If not, is there any plan to add this feature?
The text was updated successfully, but these errors were encountered: