How to change default SSL certificate on AXT1800

I was upload my .cer and .key certificate to etc/nginx, and i modify gl.conf, replaced nginx.cer and nginx.key to my certificate. After i reboot my router, I access my router through domain name which is same as my certificate, it doesn’t work.(Edge said this website doesnt have a certificate) Am i doing the right thing?