Bonjour,
Nous avons acheté la version premium, et nous souhaitons mettre en place l'authentification CAS.
Nous avons suivi les instructions de votre documentation.
Le serveur est sur une base Debian 12 bookworm avec PHP 8.2
Ci dessous les fichier de configuration utilisés
Config apache
<VirtualHost *:80>
# Redirection HTTPS
RewriteEngine On
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</VirtualHost>
<VirtualHost *:443>
# Activation HTTP/2
Protocols h2 http/1.1
# Indication SNI
ServerName nom.de.domaine.fr
# Réglages SSL
SSLEngine on
# Certificats
SSLCertificateFile /certs/certpem
SSLCertificateKeyFile /certs/certificate.key
# SSLCertificateChainFile /certs/certificat.crt
</VirtualHost>
# Bloc configuration application
DocumentRoot /var/www/robert2
<Directory /var/www/robert2>
Options ExecCGI FollowSymlinks
AllowOverride All
Require all granted
</Directory>
# Emplacements des logs
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# Configuration protocoles
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SH>
SSLHonorCipherOrder off
SSLSessionTickets off
Configuration Robert 2
{
"apiUrl": "https://url.iut.fr",
"enableCORS": false,
"displayErrorDetails": true,
"useRouterCache": true,
"useHTTPS": true,
"sessionExpireHours": 12,
"JWTSecret": "secret",
"httpAuthHeader": "Authorization",
"defaultLang": "fr",
"currency": {
"symbol": "€",
"name": "Euro",
"iso": "EUR",
"symbol_intl": "€",
"decimal_digits": 2,
"rounding": 0
},
"billingMode": "none",
"degressiveRateFunction": "daysCount",
"maxItemsPerPage": 100,
"handScanner": {
"scanTimeout": 100,
"inputLayout": "azerty"
},
"email": {
"from": "",
"driver": "mail",
"smtp": {
"host": "localhost",
"port": 1025,
"username": null,
"password": null,
"security": ""
},
"mailjet": {
"apiKey": null,
"apiSecretKey": null
}
},
"notifications": {
"overdue": {
"enabled": false,
"days": [
1,
15,
22,
27,
30
],
"lookBackMaxMonths": 2
},
"preparers": {
"enabled": false,
"daysBefore": 1
}
},
"db": {
"host": "localhost",
"username": "robert",
"password": "DBPASS",
"database": "robert_db",
"prefix": ""
},
"companyData": {
"country": "France",
"email": "user@iut.fr",
"legalNumbers": [
{
"name": "SIRET",
"value": ""
},
{
"name": "APE",
"value": ""
}
],
"locality": "secret",
"logo": "LOGO.png",
"name": "IUT",
"phone": "+331234657",
"street": "adresse",
"vatNumber": "",
"vatRate": 0,
"zipCode": "68200"
},
"auth": {
"cookie": "auth",
"CAS": {
"enabled": true,
"host": "cas.iut.fr",
"uri": "/cas",
"port": 443,
"cert": "/var/www/robert2/src/App/Config/cas.pem",
"attributes": {
"pseudo": "givenName",
"email": ["mail", "email"],
"firstName": "first_name",
"lastName": "last_name",
"group": "group"
},
"defaultGroup": "member"
}
}
}
Que faut il faire, nous n'avons pas de log d'erreur ou quoi ce soit pour trouver la cause ....
Merci
Cordialement,