I have ArcGIS Enterprise with version 10.6.1. We have updated the portal URL from HTTP to HTTPS in ArcGIS Server Administrator Direcotry. After the updating, the portal is still running. However, we found that it is able for us to upload a new data to the portal but it is unable for us to release the data as a hosting feature layer. The error message is: The server"xyz" could not decrypt token, token may not be valid.
We thought that if we unregister the server and register again would solve the issue. In ArcGIS Portal Directory, we change the Admin URL of the original server and set the "Is Hosted" to false. By register a new server with the original setting. However, there is a bug after the register. We could not enter into the page of the new server. The error message is: HTTP ERROR 500 Internal Server Error.
We could not found the way for remove/unregister the new server, as we cound not enter to the web page. Is there any way for us to solve the problem? There are some problems that we encountered:
1. We could not remove the server with error 500

2. The portal is unable to publish hosting feature layer

3. The server is not validated with message: could not decrypt token, token may not be valid.
