Wanted to enable tls 1.2 protocol used for email send using the jboss wildfly mail sub system.
Provided tls="true" in the smtp config tag in standalone.xml file, but the server is sending the emails using tls1.1 instaed of 1.2. What settings required to use tls1.2 ?
Related
We are trying to send email from an AEM Service using MessageGatewayService API. The weird part is, it is working on all lower environment and including in our local aem instance but it is not working only in Live servers. We verified the below things
Verified org.apache.sling.healthcheck: smtpMailService service
(/system/console/jmx/org.apache.sling.healthcheck%3Aname%3DsmtpMailService%2Ctype%3DHealthCheck),
it says “The E-mail Service appears to be working properly. Verify
the health check e-mail was sent to [ healthcheck#example.com ]”
Verified that the smtp host is open with port number using telnet from both author and publish servers
Restarted Day Communique 5 Mailer com.day.cq.cq-mailer bundle
Error Message:-
com.day.cq.mailer.MailingException: Invalid mail service configuration.
at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:270)
at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:45)
Is there any additional configuration to verify?
This problem got resolved after restarting AEM servers
I am trying to add one more SMTP server as a fail over Server.
Currently I have configured One mail server details and added in System Properties and sending mail Transport.
Is it possible using configuration file ?
I want to connect to my ejabberd server from another machine using a certificate instead of a login/password. I've looked for authentication client-to-server with a certificate for ejabberd, but i couldn't find something helpfull.
If anyone has any ideas how it cas be done, I'm taking..
As of version 16.02, ejabberd Community Server does not yet support client cert authentication.
However, if your questions is about communication encryption, you can indeed configure ejabberd with Starttls support to use TLS between client and server. A service like Let's encrypt can provide such certificates for free: https://letsencrypt.org/
I have configured Outbound email in Alfresco, by following this link:
http://docs.alfresco.com/4.1/concepts/email-outboundsmtp-props.html
My alfresco-global.properties contains:
### email server config smtp outbound
mail.host=emailserver.domain.com
mail.port=25
mail.username=example#domain.com
mail.password=password
mail.encoding=UTF-8
mail.from.default=example#domain.com
mail.smtp.auth=false
mail.protocol=smtp
mail.smtp.timeout=30000
I get the following error:
No authentication mechanisms supported by both server and client
The same configuration works with Alfresco hosted on a Windows server but doesn't work with Cent OS server.
Any idea what could be the cause ?
Make sure that your email id which you are using to send emails is less secure#
# Outbound Email Configuration
#-------------
mail.host=smtp.gmail.com
mail.port=465
mail.encoding=UTF-8
mail.username=****#gmail.com
mail.password=*******
mail.protocol=smtps
mail.from.default=****#gmail.com
mail.smtps.starttls.enable=true
mail.smtps.auth=true
Is it possible that weblogic uses a custom ssl socket implementation? I'm running into a problem with the JavaMail. Trying to use a smtp ssl connection fails even though I've setup a custom truststore with the mailserver ca. However if I set the javax.net.ssl.trustStore property to use a truststore with the mailserver ca everything works.
This makes me think that weblogic uses their custom sockets or custom config for sockets. While JavaMail relies on the standard mechanisms and will not take into account what's in the weblogic custom truststore.
Any ideas?
(posted as an answer - thanks!)
WebLogic Server doesn't use custom socket implementation that I'm aware of. I've integrated it in the past with a number of client applications or other servers. That being said, SSL is gloriously frustrating to get working right. Can you post the exceptions/errors you're getting in your logs when WebLogic Server tries to make the connection? If you're not seeing anything in the logs, depending on the version of WebLogic Server you're using, there are a number of debug flags you can enable to get more information.
By default WebLogic uses the Certicom SSL implementation. My experience of this library has been nothing but grief. You haven't provided any details of the error but I would enable the Sun implementation to see if that helps. In the "Advanced" tab in the SSL-configuration there is a checkbox called "Use JSSE SSL" which will do it.
Or you can do it with system properties like so:
http://weblogic-wonders.com/weblogic/2010/11/09/enforce-weblogic-to-use-sun-ssl-implementation-rather-than-certicom/