SAML2 and ADFS

Ssytem Information:

Version 24.11.0-89-g16943f9e3 - Mon Dec 09 2024 23:31:16 GMT+0200
Database Schema 2024_10_20_154356_create_qos_table (310)
Web Server Apache/2.4.52 (Ubuntu)
PHP 8.3.14
Python 3.10.12
Database MariaDB 10.6.18-MariaDB-0ubuntu0.22.04.1
Laravel 10.48.23
RRDtool 1.7.2

Getting problem with SAML2 authentication via Socialite configuration with ADFS.
When entering sp_certificate and sp_private_key options, getting error:


openssl_sign(): Supplied key param cannot be coerced into a private key {"userId":2,"exception":"[object] (ErrorException(code: 0): openssl_sign(): Supplied key param cannot be coerced into a private key at /opt/librenms/vendor/robrichards/xmlseclibs/src/XMLSecurityKey.php:563)"}

Authentication working successful if sp_certificate and sp_private_key options are not provided.

Also for future requests would be nice if SAML2 authentication configuration would be more user friendly through GUI

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.