Unknown opened 4 years ago
|
|
Addtional When I use the command ‘java -cp ./jars/tigase-utils.jar tigase.cert.CertificateUtil -lc certs/domian.pem -simple’ The log is:
|
|
Your chain is invalid:
your certificate It should look like this (one of the variants, but you can see correct chain order):
Relevant background information can be found here: https://letsencrypt.org/2020/12/21/extending-android-compatibility.html In your case it seems that you used incorrect |
|
@woj-tek Thanks,I will try it |
|
@woj-tek Hello I see the last chain of ISRG Root X1 was downloaded from wget https://letsencrypt.org/certs/isrgrootx1.pem which is the guide of tigase (https://docs.tigase.net/tigase-server/master-snapshot/Administration_Guide/html/#ServerCertificates) |
|
As I said - the chain with Alternatively, and recommendable would be using You must always consult Let's Encrypt website for correct certificate order: In this case you should download following:
And then merge them all:
|
|
@woj-tek Thanks,I success for this step and It's OK for Stork IM but failed at Conversation or Psi+ The error message say 'The certificate is NOT vaild!Reason: iNVALID CA certificate.'It's something wrong for my certification? |
|
Could you share the screenshot of the complete error? |
|
Just this error for red words |
|
@woj-tek It's ok for change hostname and change the CA,Thanks a lot |
|
You shouldn't use wildcard hostname as your main host. Ideally you should use CN=domain.com and add wildcard as alternative CNs. |
Describe the bug I used certification of LetsEncryption but tell me "certification is self-signed" in whatever application.
To Reproduce Steps to reproduce the behavior:
Impact It's not security
Expected behavior It is security
Additional context I store the pem file at certs/domain.pem(The pem file is created by LetsEncryption and I obtains all file at domain.pem).When I start tigase.sh,it always log 'Cannot load certficate from file: certs/im.thebd.xyz.pem' which level is warn.And sometime it will create a new certification under the certs/ dic.