Adding SSL To Server Error

Welcome to the ERPNext forum -

Please share here the complete error traceback found in logs/

You need to do something like this:

bench set-config host_name https://test.com

This may help with config tips How can I disable Auto Update System - #2 by clarkej