Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(MAINT) SSL Verification extended (#504)
* (MAINT) update SSL verification and certificate handling - Changed SSL verification mode to VERIFY_PEER for enhanced security. - Added Puppet settings initialization to load necessary certificates. - Updated HTTP request to use Puppet's certname and certificate files. - Ensured CA file is set for SSL verification. * fix(rbac_token): correct syntax errors in SSL configuration - Fixed incorrect syntax in Net::HTTP initialization. - Corrected method calls for SSL setup and certificate handling. - Ensured proper request initialization for RBAC token generation. * fix(rbac_token): correct Net::HTTPSuccess class reference - Fixed incorrect reference to Net::HTTPSuccess class in token request error handling. * fix(rbac_token): correct typo in Net::HTTP::Post initialization Corrected the typo in the initialization of Net::HTTP::Post for creating the RBAC token request. This ensures the correct HTTP method is used for the request. * fix(get_peadm_config): use Puppet certname instead of localhost for HTTPS connection Changed the HTTPS connection to use Puppet's certname instead of 'localhost' to ensure proper SSL certificate validation.
- Loading branch information