Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sap_hdbsql module: SECURE Connection #41

Open
1 task done
stm85 opened this issue Mar 28, 2024 · 1 comment
Open
1 task done

sap_hdbsql module: SECURE Connection #41

stm85 opened this issue Mar 28, 2024 · 1 comment
Assignees

Comments

@stm85
Copy link
Contributor

stm85 commented Mar 28, 2024

Summary

Hi,

The configured trusted Part

    if encrypted is True:
        command.extend([' -attemptencrypt'])

could not work from my perspektive in most of the cases.

ERROR in our Landscape:

/usr/sap/HDB/HDB00/exe/hdbsql -e -attemptencrypt -n localhost -i 00 -d HDB-u SYSTEM -p 'password' "\s"

==============================================================================
== SECURITY WARNING: The encrypted communication attempt failed. Retrying   ==
==                   the connection attempt without encryption options.     ==
==============================================================================

I've changed the module part to the following one

    if encrypted is True:
        command.extend(['-e' , '-ssltrustcert', '-sslcreatecert'])

this solution is working fine in our landscape

Issue Type

Feature Idea

Component Name

hdbsql

Additional Information

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@rainerleber
Copy link
Collaborator

Hi @stm85 sounds like a good improvement. I will try to implement it as soon as possible.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants