SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu 22.04 |
Webmin version | 2.101 |
Virtualmin version | 7.8.2 |
Related packages | Backup S3 |
Hello everyone,
I’m trying to backup virtualmin servers to a Minio custom server.
In the setting page I’ve set the backup server hostname (please check attachment, all confidente data are blank).
Anyway, virtualmin ignore the custom hostname and use the server name in format region.amazonaws.com
Uploading archive to Amazon's S3 service ..
.. upload failed! upload failed: ../../../../tmp/.webmin/155462-/XXXX.it.tar.gz to s3://XXXX/XXXX_06-11-2023/XXXX.it.tar.gz Could not connect to the endpoint URL: "https://s3.inits-de-hetzner-1.amazonaws.com/XXXX/XXXX_06-11-2023/XXX.it.tar.gz?uploads"
If I try to play with file /etc/hosts, I can see that (of course) SSL certificate check fails.
Uploading archive to Amazon's S3 service ..
.. upload failed! upload failed: ../../../../tmp/.webmin/158800-/XXXX.it.tar.gz to s3://XXXX/XXXX_06-11-2023/XXXX.it.tar.gz SSL validation failed for https://s3.inits-de-hetzner-1.amazonaws.com/XXXX/XXXX_06-11-2023/XXX.it.tar.gz?uploads hostname 's3.inits-de-hetzner-1.amazonaws.com' doesn't match 'backupservers3.XXXX'
Can someone check the code please?
Thank you