Hi.
I try to use my Mac M3 VM (Rocky 9.6) to install OOD 4.0. I will put all the services in this VM, including the server and client.
This is the VM infor:
Rocky Linux release 9.6 (Blue Onyx)
5.14.0-570.37.1.el9_6.aarch64
ondemand-4.0.6-1.el9.aarch64
ondemand-dex-2.41.1-1.el9.aarch64
I don’t set up the DNS. I try to make everything sample first, and I use the local.
The configuration file for /etc/ood/config/ood_portal.yml
#servername: “ood.my_poc.edu”
#servername:“172.16.67.128”
servername:“localhost”
#servername:“127.0.0.1”
ssl:
- 'SSLCertificateFile "/etc/pki/tls/certs/ondemand.my_center.edu.crt"'
- 'SSLCertificateKeyFile "/etc/pki/tls/private/ondemand.my_center.edu.key"'
- 'SSLCertificateChainFile "/etc/pki/tls/certs/ondemand.my_center.edu-interm.crt"'
auth:
- “openid-connect”
modfiy to the localhost
oidc_provider_metadata_url: “http://localhost/dex/.well-known/openid-configuration”
oidc_client_id: “localhost”
oidc_client_secret: “11f8e049-1a28-4fb3-80cf-c69a072ac802”
oidc_redirect_uri: “/oidc”
oidc_remote_user_claim: “preferred_username”
The configuration file /etc/ood/config/dex/config.yaml
issuer: http://localhost/dex
storage:
type: sqlite3
config:
file: /etc/ood/dex/dex.db
web:
http: 0.0.0.0
staticClients:
- id: localhost
redirectURIs:- ‘http://localhost/oidc’
name: ‘OnDemand’
secret: 11f8e049-1a28-4fb3-80cf-c69a072ac802
- ‘http://localhost/oidc’
staticPasswords:
- email: “ooduser@example.com”
hash: “$2a$10$KbQi7uD6eMT6eOYJcrJQ8ObhTg/4SE9sVyukTjXKBQHlrcxEl3jWy”
username: “ooduser”
userID: “12345”
[root@localhost ~]# getenforce
Permissive
[root@localhost ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; preset:>
Active: active (running) since Wed 2025-09-10 16:06:13 JST; 12h ago
Docs: man:firewalld(1)
Main PID: 30691 (firewalld)
Tasks: 2 (limit: 10628)
Memory: 26.7M
CPU: 480ms
CGroup: /system.slice/firewalld.service
└─30691 /usr/bin/python3 -s /usr/sbin/firewalld --nofork --nopid
Sep 10 16:06:13 localhost.localdomain systemd[1]: Starting firewalld - dynamic fi>
Sep 10 16:06:13 localhost.localdomain systemd[1]: Started firewalld - dynamic fir>
The httpd and demand-dex service is works, but still have the information by brower.
You have successfully installed Open OnDemand.
However, you now have to configure authentication for this apache instance. See the authentication documentation for all the options available.
Would you please help me to let me know where is my mistake. This is the first time I do the set up for OOD.
Thanks