How to enable https in opennms server

I have configured the opennms based on the information which is available in “How to setup SSL with Jetty”.
but i’m getting an error while using https: “SSL_ERROR_RX_UNEXPECTED_RECORD_TYPE”

I strongly suggest you look at the link at the top of that post. Using Apache or Nginx as a reverse proxy is much easier to manage and is more secure.