Error while creating user from API

1. What is the issue? Please be detailed.
When trying to create a user through API /v1/users/I am getting this error.
request body only has the email of the user whom I am creating for.
this is the response

    "message": "Completely unhandled exception: 140502413637568:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:\n",
    "details": {
        "stack": [
            "Error: 140502413637568:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:",

Even from ODK central Dashboard when I am trying I am getting Something Went Wrong: 500 error.
Can someone please help me with this?
And also I wanted to know if is there a way to share the QR code of the app user. Since I will be creating many app users for different forms, I can't give all of them access to ODK Central. They will have a manager over them who will create their app user, and share the QR. But I did not find any way other than copying the QR image, If there is any method to share the QR code please also let me know.

2. What steps can we take to reproduce this issue?

3. What have you tried to fix the issue?

4. Upload any forms or screenshots you can share publicly below.

This isn't an API issue. Something else has gone wrong with your Central install. Read your container logs and go from there. My guess is that your SSL cert has expired or you don't have one.

And if you aren't running the latest version of Central, consider upgrading.

I checked the cert creds they ain't expired. And this is what the logs are telling:

central-service-1 | ::ffff: - - [07/Apr/2023:12:11:30 +0000] "POST /v1/users HTTP/1.0" 500 351
central-service-1 | [Error: 140195329439680:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
central-service-1 | ] {
central-service-1 | library: 'SSL routines',
central-service-1 | function: 'ssl3_get_record',
central-service-1 | reason: 'wrong version number',
central-service-1 | code: 'ESOCKET',
central-service-1 | command: 'CONN'
central-service-1 | }

What can be the possible reason? I have checked the creds again that I set in .env file. everything looked fine.

What version of Central are you using? Are you using a custom mail server that might not have valid certs?

// Use fully qualified domain names. Set to DOMAIN=local if SSL_TYPE=selfsign.

// Used for Let's Encrypt expiration emails and Enketo technical support emails

// Options: letsencrypt, customssl, upstream, selfsign

// Do not change if using SSL_TYPE=letsencrypt

// Optional: configure Node

// Optional: connect to a custom database server

// Optional: configure a custom mail server

// Optional: configure error reporting

I have the latest version only, have setted up central last month itself.