When I use BOSH, I need to use an encrypted port. I now have xxx. key and xxx. pem certificates. How do I import them

Openfire set xxxx@domain , must the domain here be consistent with that in the certificate

How do I use port 7443

https://domain:7443/http-bind/, is that right

7443 is the default port used by Openfire to expose the encrypted versions for BOSH and websockets (over HTTPS). What port your server uses (if someone configured it to be different from the default port) can be seen on the first page of the admin console, in the ‘ports’ section (search for “http binding” ports).

TLS certificates can be installed in a few ways.

  1. The admin console offers a UI that you can use for this.
  2. The Certificate Manager plugin allows you to automate the process of installing private keys and certificate chains
  3. the Java Keytool command can be used directly on the keystores used by Openfire, as documented in Openfire: SSL Guide