why can not authorized by mailx

dear all
Hi

i am using redhat 6.2 i want use mailx but when i run that appear this :

1- authorized unsuccessfull
2-Error in certificate: Peer’s certificate issuer is not recognized.

now i paste the mailx syntax that i used
what is my problem?

how do i have to create certificate?




[root@pers ~]# echo -e "Dear All \nHi\n\nDaily bills info for has been attached \n\nBest regards\nos Group" | /bin/mailx -v -s "Warning" -S smtp=smtp://10.4.8.x.x -r "[email protected]" -S smtp-use-starttls -S smtp-auth=login -S [email protected] -S smtp-auth-password=password -S ssl-verify=ignore -S nss-config-dir=/etc/pki/nssdb -c [email protected] [email protected]
Resolving host 10.4.8.x.x . . . done.
Connecting to 10.4.8.x.x . . . connected.
220 Mail8.kb.net Microsoft ESMTP MAIL Service ready at Sun, 7 Jan 2018 18:21:50 +0330
>>> EHLO perspolis
250-Mail8.kb.net Hello [10.11.x.x]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-X-ANONYMOUSTLS
250-AUTH NTLM
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOW
>>> STARTTLS
220 2.0.0 SMTP server ready
Error in certificate: Peer's certificate issuer is not recognized.
Comparing DNS name: "*.kb.net"
Comparing common name: "*.kb.net"
host certificate does not match "10.4.8.x.x"
SSL parameters: cipher=3DES-EDE-CBC, keysize=168, secretkeysize=168,
issuer=CN=CA.karafarin.com,DC=karafarin,DC=com
subject=CN=*.kb.net,OU=IT,O=Karafarin Bank,L=Tehran,ST=Tehran,C=IR
>>> EHLO perspolis
250-Mail8.kb.net Hello [10.11.x.x]
250-SIZE
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-AUTH NTLM LOGIN
250-X-EXPS GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250-CHUNKING
250-XEXCH50
250-XRDST
250 XSHADOW
>>> AUTH LOGIN
334 VXNlcm5hbWU6
>>> Yi5zZXllZGlAa2FyYWZhcmluYmFuay5pcg==
334 UGFzc3dvcmQ6
>>> b3BlbnNreQ==
535 5.7.3 Authentication unsuccessful
smtp-server: 535 5.7.3 Authentication unsuccessful
"/root/dead.letter" 18/423
. . . message not sent.
[root@pers ~]#