I changed the username and password in your curl. I also changed the protocolo to https and port to 4443. Since my version is 3.3.10, I downgrade the API version to 38 there as well.
```
curl -s -c cookie -b cookie -d j_username=<my_user> -d j_password=<my_pass>
-k https://localhost:4443/j_security_check -H "Accept: application/json"
https://localhost:4443/api/38/system/info{"system":{"timestamp":{"epoch":1655911545999,"unit":"ms","datetime":"2022-06-22T15:25:45Z"},"rundeck":{"version":"3.3.10-20210301","build":"3.3.10-20210301","buildGit":"v3.3.10-0-g6ba03e4","node":"s<rundeck_server>","base":"/var/lib/rundeck","apiversion":38,"serverUUID":"161b8939-a3c6-4331-8b70-029cfdf40eb0"},"executions":{"active":true,"executionMode":"active"},"os":{"arch":"amd64","name":"Linux","version":"4.18.0-348.23.1.el8_5.x86_64"},"jvm":{"name":"OpenJDK 64-Bit Server VM","vendor":"Red Hat, Inc.","version":"1.8.0_332","implementationVersion":"25.332-b09"},"stats":{"uptime":{"duration":6905406,"unit":"ms","since":{"epoch":1655904640593,"unit":"ms","datetime":"2022-06-22T13:30:40Z"}},"cpu":{"loadAverage":{"unit":"percent","average":1.47},"processors":2},"memory":{"unit":"byte","max":954728448,"free":568147248,"total":795344896},"scheduler":{"running":0,"threadPoolSize":10},"threads":{"active":31}},"metrics":{"href":"https://<rundeck_server>:4443/api/38/metrics/metrics?pretty=true","contentType":"application/json"},"threadDump":{"href":"https://<rundeck_server>:4443/api/38/metrics/threads","contentType":"text/plain"},"healthcheck":{"href":"https://<rundeck_server>:4443/api/38/metrics/healthcheck","contentType":"application/json"},"ping":{"href":"
https://s<rundeck_server>:4443/api/38/metrics/ping","contentType":"text/plain"}}}
```