SOLVED Minio not reverting to insecure connection after removing certificate

boomshnka

Cadet
Joined
Mar 11, 2021
Messages
4
I have Minio working on 12.0 U2.1 with a self-signed certificate. I would like to change the configuration to not use a secure connection any longer but after removing the certificate, I still get redirected to the secure connection and the original certificate is used. Is there something else needed to get Minio to stop forcing a secure connection? Thanks.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
How did you remove the certificate? Did you use the pulldown under the S3 service to select the --- setting? Afterwards, did you restart the S3 service by blipping the toggle?
 

boomshnka

Cadet
Joined
Mar 11, 2021
Messages
4
Yes and yes. And if I just replace the certificate I don't need to blip the toggle to restart the service to get the change to take effect.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
OK, then you may need to manually whack the cert and associated private key in /usr/local/etc/minio/certs, after shutting the service down. Then try restarting the service.
 

boomshnka

Cadet
Joined
Mar 11, 2021
Messages
4
Thanks. I can confirm that removing the cert and key fixed it. Also, I found that rebooting the truenas appliance will also remove those files.
 
Top