This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 309638dbc1dc CAMEL-25643: Support sslContextParameters in camel-smpp 
(#31086)
309638dbc1dc is described below

commit 309638dbc1dce6d542ba2671d1e64c55313973be
Author: Ramu <[email protected]>
AuthorDate: Mon Nov 30 14:04:08 2026 +0530

    CAMEL-25643: Support sslContextParameters in camel-smpp (#31086)
    
    * CAMEL-25643: Support sslContextParameters in camel-smpp
    * CAMEL-25643: Clarify SMPP TLS configuration docs
---
 .../org/apache/camel/catalog/components/smpp.json  |  11 +-
 .../org/apache/camel/catalog/components/smpps.json |  11 +-
 .../apache/camel/catalog/docs/smpp-component.adoc  |  38 +++++-
 .../component/smpp/SmppComponentConfigurer.java    |  12 ++
 .../component/smpp/SmppEndpointConfigurer.java     |   6 +
 .../component/smpp/SmppEndpointUriFactory.java     |   3 +-
 .../org/apache/camel/component/smpp/smpp.json      |  11 +-
 .../org/apache/camel/component/smpp/smpps.json     |  11 +-
 .../camel-smpp/src/main/docs/smpp-component.adoc   |  38 +++++-
 .../apache/camel/component/smpp/SmppComponent.java |  22 +++-
 .../camel/component/smpp/SmppConfiguration.java    |  23 +++-
 .../component/smpp/SmppConnectionFactory.java      |  39 +++++-
 .../apache/camel/component/smpp/SmppConsumer.java  |   5 +-
 .../apache/camel/component/smpp/SmppProducer.java  |   5 +-
 .../camel/component/smpp/SmppComponentTest.java    |  40 ++++++
 ...pConnectionFactoryHostnameVerificationTest.java | 117 ++++++++++++++++-
 .../component/dsl/SmppComponentBuilderFactory.java |  44 ++++++-
 .../dsl/SmppsComponentBuilderFactory.java          |  44 ++++++-
 .../endpoint/dsl/SmppEndpointBuilderFactory.java   | 144 ++++++++++++++++++---
 19 files changed, 558 insertions(+), 66 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
index b9f6979b7f78..4c364757c30c 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpp.json
@@ -68,8 +68,10 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 40, "kind": "property", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySes [...]
     "hostnameVerification": { "index": 41, "kind": "property", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that  [...]
     "password": { "index": 42, "kind": "property", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 43, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
-    "usingSSL": { "index": 44, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SMS [...]
+    "sslContextParameters": { "index": 43, "kind": "property", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS connec [...]
+    "systemId": { "index": 44, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
+    "useGlobalSslContextParameters": { "index": 45, "kind": "property", 
"displayName": "Use Global Ssl Context Parameters", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Enable usage of global SSL context 
parameters." },
+    "usingSSL": { "index": 46, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defaul [...]
   },
   "headers": {
     "CamelSmppAlphabet": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "producer", "required": false, "javaType": 
"Byte", "deprecated": false, "autowired": false, "secret": false, 
"description": "The alphabet of the short message, which replaces the alphabet 
option for SubmitSm, SubmitMulti and ReplaceSm: 0 for the SMSC default 
alphabet, 4 for 8-bit data and 8 for UCS2. When the CamelSmppDataCoding header 
is not set, SubmitSm, SubmitMulti and DataSm als [...]
@@ -166,7 +168,8 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 42, "kind": "parameter", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySe [...]
     "hostnameVerification": { "index": 43, "kind": "parameter", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that [...]
     "password": { "index": 44, "kind": "parameter", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 45, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
-    "usingSSL": { "index": 46, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SM [...]
+    "sslContextParameters": { "index": 45, "kind": "parameter", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS conne [...]
+    "systemId": { "index": 46, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
+    "usingSSL": { "index": 47, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defau [...]
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
index b6429117305f..bae9769675a8 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/smpps.json
@@ -68,8 +68,10 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 40, "kind": "property", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySes [...]
     "hostnameVerification": { "index": 41, "kind": "property", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that  [...]
     "password": { "index": 42, "kind": "property", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 43, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
-    "usingSSL": { "index": 44, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SMS [...]
+    "sslContextParameters": { "index": 43, "kind": "property", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS connec [...]
+    "systemId": { "index": 44, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
+    "useGlobalSslContextParameters": { "index": 45, "kind": "property", 
"displayName": "Use Global Ssl Context Parameters", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Enable usage of global SSL context 
parameters." },
+    "usingSSL": { "index": 46, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defaul [...]
   },
   "headers": {
     "CamelSmppAlphabet": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "producer", "required": false, "javaType": 
"Byte", "deprecated": false, "autowired": false, "secret": false, 
"description": "The alphabet of the short message, which replaces the alphabet 
option for SubmitSm, SubmitMulti and ReplaceSm: 0 for the SMSC default 
alphabet, 4 for 8-bit data and 8 for UCS2. When the CamelSmppDataCoding header 
is not set, SubmitSm, SubmitMulti and DataSm als [...]
@@ -166,7 +168,8 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 42, "kind": "parameter", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySe [...]
     "hostnameVerification": { "index": 43, "kind": "parameter", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that [...]
     "password": { "index": 44, "kind": "parameter", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 45, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
-    "usingSSL": { "index": 46, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SM [...]
+    "sslContextParameters": { "index": 45, "kind": "parameter", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS conne [...]
+    "systemId": { "index": 46, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
+    "usingSSL": { "index": 47, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defau [...]
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/smpp-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/smpp-component.adoc
index cdf43b540581..85962da635bf 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/smpp-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/smpp-component.adoc
@@ -195,12 +195,38 @@ If no *username* is provided, then Camel will provide the 
default value
 `smppclient`. +
  If no *port* number is provided, then Camel will provide the default
 value `2775`. +
-If the protocol name is "smpps", camel-smpp will try to
-use SSLSocket to init a connection to the server. The certificate of the
-server must be trusted by the JVM, and it must match the host Camel connects
-to, with the same rules as an HTTPS client: a connection to an IP address
-needs a certificate that lists that address as a subject alternative name.
-Set `hostnameVerification=false` to turn the host check off.
+With the `smpps` scheme or `usingSSL=true`, camel-smpp uses TLS to connect
+to the SMSC. The `sslContextParameters` option configures the TLS context but
+does not enable TLS by itself. Use the `smpps` scheme or set `usingSSL=true`
+to enable TLS. By default, the certificate must be trusted by the JVM's default
+SSL socket factory. Set the `sslContextParameters` endpoint option to configure
+trust and key material for this connection instead. This option applies both
+to direct connections and to TLS connections established through an HTTP proxy.
+
+To use Camel's global `camel.ssl.*` configuration, enable
+`useGlobalSslContextParameters` on the component instance used by the endpoint.
+The `smpp` and `smpps` schemes are separate component instances, so enable the
+option for each scheme you use:
+
+[source,properties]
+----
+camel.component.smpp.useGlobalSslContextParameters = true
+camel.component.smpps.useGlobalSslContextParameters = true
+----
+
+An endpoint's `sslContextParameters` option takes precedence over the global
+configuration. For example, configure a custom TLS context on an `smpps` 
endpoint
+with:
+
+[source,text]
+----
+smpps://host:2776?sslContextParameters=#sslParams
+----
+
+The certificate of the SMSC must also match the host Camel connects to, with
+the same rules as an HTTPS client: a connection to an IP address needs a
+certificate that lists that address as a subject alternative name. Set
+`hostnameVerification=false` to turn the host check off.
 
 The handshake runs while the connection is being created, so a certificate 
that does not match makes the producer or
 consumer fail to start with an `IOException` caused by an
diff --git 
a/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppComponentConfigurer.java
 
b/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppComponentConfigurer.java
index 393b4e67e0cb..b92e331b4320 100644
--- 
a/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppComponentConfigurer.java
+++ 
b/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppComponentConfigurer.java
@@ -107,6 +107,8 @@ public class SmppComponentConfigurer extends 
PropertyConfigurerSupport implement
         case "sourceAddrTon": 
getOrCreateConfiguration(target).setSourceAddrTon(property(camelContext, 
byte.class, value)); return true;
         case "splittingpolicy":
         case "splittingPolicy": 
getOrCreateConfiguration(target).setSplittingPolicy(property(camelContext, 
org.apache.camel.component.smpp.SmppSplittingPolicy.class, value)); return true;
+        case "sslcontextparameters":
+        case "sslContextParameters": 
getOrCreateConfiguration(target).setSslContextParameters(property(camelContext, 
org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
         case "systemid":
         case "systemId": 
getOrCreateConfiguration(target).setSystemId(property(camelContext, 
java.lang.String.class, value)); return true;
         case "systemtype":
@@ -115,6 +117,8 @@ public class SmppComponentConfigurer extends 
PropertyConfigurerSupport implement
         case "transactionTimer": 
getOrCreateConfiguration(target).setTransactionTimer(property(camelContext, 
java.lang.Integer.class, value)); return true;
         case "typeofnumber":
         case "typeOfNumber": 
getOrCreateConfiguration(target).setTypeOfNumber(property(camelContext, 
byte.class, value)); return true;
+        case "useglobalsslcontextparameters":
+        case "useGlobalSslContextParameters": 
target.setUseGlobalSslContextParameters(property(camelContext, boolean.class, 
value)); return true;
         case "usingssl":
         case "usingSSL": 
getOrCreateConfiguration(target).setUsingSSL(property(camelContext, 
boolean.class, value)); return true;
         default: return false;
@@ -200,6 +204,8 @@ public class SmppComponentConfigurer extends 
PropertyConfigurerSupport implement
         case "sourceAddrTon": return byte.class;
         case "splittingpolicy":
         case "splittingPolicy": return 
org.apache.camel.component.smpp.SmppSplittingPolicy.class;
+        case "sslcontextparameters":
+        case "sslContextParameters": return 
org.apache.camel.support.jsse.SSLContextParameters.class;
         case "systemid":
         case "systemId": return java.lang.String.class;
         case "systemtype":
@@ -208,6 +214,8 @@ public class SmppComponentConfigurer extends 
PropertyConfigurerSupport implement
         case "transactionTimer": return java.lang.Integer.class;
         case "typeofnumber":
         case "typeOfNumber": return byte.class;
+        case "useglobalsslcontextparameters":
+        case "useGlobalSslContextParameters": return boolean.class;
         case "usingssl":
         case "usingSSL": return boolean.class;
         default: return null;
@@ -294,6 +302,8 @@ public class SmppComponentConfigurer extends 
PropertyConfigurerSupport implement
         case "sourceAddrTon": return 
getOrCreateConfiguration(target).getSourceAddrTon();
         case "splittingpolicy":
         case "splittingPolicy": return 
getOrCreateConfiguration(target).getSplittingPolicy();
+        case "sslcontextparameters":
+        case "sslContextParameters": return 
getOrCreateConfiguration(target).getSslContextParameters();
         case "systemid":
         case "systemId": return getOrCreateConfiguration(target).getSystemId();
         case "systemtype":
@@ -302,6 +312,8 @@ public class SmppComponentConfigurer extends 
PropertyConfigurerSupport implement
         case "transactionTimer": return 
getOrCreateConfiguration(target).getTransactionTimer();
         case "typeofnumber":
         case "typeOfNumber": return 
getOrCreateConfiguration(target).getTypeOfNumber();
+        case "useglobalsslcontextparameters":
+        case "useGlobalSslContextParameters": return 
target.isUseGlobalSslContextParameters();
         case "usingssl":
         case "usingSSL": return getOrCreateConfiguration(target).isUsingSSL();
         default: return null;
diff --git 
a/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointConfigurer.java
 
b/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointConfigurer.java
index 0ac2676616d9..8075319abecf 100644
--- 
a/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointConfigurer.java
+++ 
b/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointConfigurer.java
@@ -101,6 +101,8 @@ public class SmppEndpointConfigurer extends 
PropertyConfigurerSupport implements
         case "sourceAddrTon": 
target.getConfiguration().setSourceAddrTon(property(camelContext, byte.class, 
value)); return true;
         case "splittingpolicy":
         case "splittingPolicy": 
target.getConfiguration().setSplittingPolicy(property(camelContext, 
org.apache.camel.component.smpp.SmppSplittingPolicy.class, value)); return true;
+        case "sslcontextparameters":
+        case "sslContextParameters": 
target.getConfiguration().setSslContextParameters(property(camelContext, 
org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true;
         case "systemid":
         case "systemId": 
target.getConfiguration().setSystemId(property(camelContext, 
java.lang.String.class, value)); return true;
         case "systemtype":
@@ -195,6 +197,8 @@ public class SmppEndpointConfigurer extends 
PropertyConfigurerSupport implements
         case "sourceAddrTon": return byte.class;
         case "splittingpolicy":
         case "splittingPolicy": return 
org.apache.camel.component.smpp.SmppSplittingPolicy.class;
+        case "sslcontextparameters":
+        case "sslContextParameters": return 
org.apache.camel.support.jsse.SSLContextParameters.class;
         case "systemid":
         case "systemId": return java.lang.String.class;
         case "systemtype":
@@ -290,6 +294,8 @@ public class SmppEndpointConfigurer extends 
PropertyConfigurerSupport implements
         case "sourceAddrTon": return 
target.getConfiguration().getSourceAddrTon();
         case "splittingpolicy":
         case "splittingPolicy": return 
target.getConfiguration().getSplittingPolicy();
+        case "sslcontextparameters":
+        case "sslContextParameters": return 
target.getConfiguration().getSslContextParameters();
         case "systemid":
         case "systemId": return target.getConfiguration().getSystemId();
         case "systemtype":
diff --git 
a/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointUriFactory.java
 
b/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointUriFactory.java
index 3b721581c9c3..e6378952f4f1 100644
--- 
a/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointUriFactory.java
+++ 
b/components/camel-smpp/src/generated/java/org/apache/camel/component/smpp/SmppEndpointUriFactory.java
@@ -25,7 +25,7 @@ public class SmppEndpointUriFactory extends 
org.apache.camel.support.component.E
     private static final Set<String> ENDPOINT_IDENTITY_PROPERTY_NAMES;
     private static final Map<String, String> MULTI_VALUE_PREFIXES;
     static {
-        Set<String> props = new HashSet<>(47);
+        Set<String> props = new HashSet<>(48);
         props.add("addressRange");
         props.add("allowSystemIdAndPasswordFromHeaders");
         props.add("alphabet");
@@ -68,6 +68,7 @@ public class SmppEndpointUriFactory extends 
org.apache.camel.support.component.E
         props.add("sourceAddrNpi");
         props.add("sourceAddrTon");
         props.add("splittingPolicy");
+        props.add("sslContextParameters");
         props.add("systemId");
         props.add("systemType");
         props.add("transactionTimer");
diff --git 
a/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpp.json
 
b/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpp.json
index b9f6979b7f78..4c364757c30c 100644
--- 
a/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpp.json
+++ 
b/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpp.json
@@ -68,8 +68,10 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 40, "kind": "property", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySes [...]
     "hostnameVerification": { "index": 41, "kind": "property", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that  [...]
     "password": { "index": 42, "kind": "property", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 43, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
-    "usingSSL": { "index": 44, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SMS [...]
+    "sslContextParameters": { "index": 43, "kind": "property", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS connec [...]
+    "systemId": { "index": 44, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
+    "useGlobalSslContextParameters": { "index": 45, "kind": "property", 
"displayName": "Use Global Ssl Context Parameters", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Enable usage of global SSL context 
parameters." },
+    "usingSSL": { "index": 46, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defaul [...]
   },
   "headers": {
     "CamelSmppAlphabet": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "producer", "required": false, "javaType": 
"Byte", "deprecated": false, "autowired": false, "secret": false, 
"description": "The alphabet of the short message, which replaces the alphabet 
option for SubmitSm, SubmitMulti and ReplaceSm: 0 for the SMSC default 
alphabet, 4 for 8-bit data and 8 for UCS2. When the CamelSmppDataCoding header 
is not set, SubmitSm, SubmitMulti and DataSm als [...]
@@ -166,7 +168,8 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 42, "kind": "parameter", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySe [...]
     "hostnameVerification": { "index": 43, "kind": "parameter", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that [...]
     "password": { "index": 44, "kind": "parameter", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 45, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
-    "usingSSL": { "index": 46, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SM [...]
+    "sslContextParameters": { "index": 45, "kind": "parameter", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS conne [...]
+    "systemId": { "index": 46, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
+    "usingSSL": { "index": 47, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defau [...]
   }
 }
diff --git 
a/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpps.json
 
b/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpps.json
index b6429117305f..bae9769675a8 100644
--- 
a/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpps.json
+++ 
b/components/camel-smpp/src/generated/resources/META-INF/org/apache/camel/component/smpp/smpps.json
@@ -68,8 +68,10 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 40, "kind": "property", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySes [...]
     "hostnameVerification": { "index": 41, "kind": "property", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that  [...]
     "password": { "index": 42, "kind": "property", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 43, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
-    "usingSSL": { "index": 44, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SMS [...]
+    "sslContextParameters": { "index": 43, "kind": "property", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS connec [...]
+    "systemId": { "index": 44, "kind": "property", "displayName": "System Id", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the  [...]
+    "useGlobalSslContextParameters": { "index": 45, "kind": "property", 
"displayName": "Use Global Ssl Context Parameters", "group": "security", 
"label": "security", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Enable usage of global SSL context 
parameters." },
+    "usingSSL": { "index": 46, "kind": "property", "displayName": "Using SSL", 
"group": "security", "label": "security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defaul [...]
   },
   "headers": {
     "CamelSmppAlphabet": { "index": 0, "kind": "header", "displayName": "", 
"group": "producer", "label": "producer", "required": false, "javaType": 
"Byte", "deprecated": false, "autowired": false, "secret": false, 
"description": "The alphabet of the short message, which replaces the alphabet 
option for SubmitSm, SubmitMulti and ReplaceSm: 0 for the SMSC default 
alphabet, 4 for 8-bit data and 8 for UCS2. When the CamelSmppDataCoding header 
is not set, SubmitSm, SubmitMulti and DataSm als [...]
@@ -166,7 +168,8 @@
     "allowSystemIdAndPasswordFromHeaders": { "index": 42, "kind": "parameter", 
"displayName": "Allow System Id And Password From Headers", "group": 
"security", "label": "producer,security", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether a producer with lazySe [...]
     "hostnameVerification": { "index": 43, "kind": "parameter", "displayName": 
"Hostname Verification", "group": "security", "label": "security", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "security": "insecure:ssl", 
"insecureValue": "false", "defaultValue": true, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to check that [...]
     "password": { "index": 44, "kind": "parameter", "displayName": "Password", 
"group": "security", "label": "security", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": true, "security": "secret", "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The password with which the consumer or 
producer binds to the SMSC." },
-    "systemId": { "index": 45, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
-    "usingSSL": { "index": 46, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the SM [...]
+    "sslContextParameters": { "index": 45, "kind": "parameter", "displayName": 
"Ssl Context Parameters", "group": "security", "label": "security", "required": 
false, "type": "object", "javaType": 
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "The SSL context parameters used to configure 
TLS conne [...]
+    "systemId": { "index": 46, "kind": "parameter", "displayName": "System 
Id", "group": "security", "label": "security", "required": false, "type": 
"string", "javaType": "java.lang.String", "deprecated": false, "autowired": 
false, "secret": true, "security": "secret", "defaultValue": "smppclient", 
"configurationClass": "org.apache.camel.component.smpp.SmppConfiguration", 
"configurationField": "configuration", "description": "The system_id with which 
the consumer or producer binds to the [...]
+    "usingSSL": { "index": 47, "kind": "parameter", "displayName": "Using 
SSL", "group": "security", "label": "security", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.smpp.SmppConfiguration", "configurationField": 
"configuration", "description": "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM defau [...]
   }
 }
diff --git a/components/camel-smpp/src/main/docs/smpp-component.adoc 
b/components/camel-smpp/src/main/docs/smpp-component.adoc
index cdf43b540581..85962da635bf 100644
--- a/components/camel-smpp/src/main/docs/smpp-component.adoc
+++ b/components/camel-smpp/src/main/docs/smpp-component.adoc
@@ -195,12 +195,38 @@ If no *username* is provided, then Camel will provide the 
default value
 `smppclient`. +
  If no *port* number is provided, then Camel will provide the default
 value `2775`. +
-If the protocol name is "smpps", camel-smpp will try to
-use SSLSocket to init a connection to the server. The certificate of the
-server must be trusted by the JVM, and it must match the host Camel connects
-to, with the same rules as an HTTPS client: a connection to an IP address
-needs a certificate that lists that address as a subject alternative name.
-Set `hostnameVerification=false` to turn the host check off.
+With the `smpps` scheme or `usingSSL=true`, camel-smpp uses TLS to connect
+to the SMSC. The `sslContextParameters` option configures the TLS context but
+does not enable TLS by itself. Use the `smpps` scheme or set `usingSSL=true`
+to enable TLS. By default, the certificate must be trusted by the JVM's default
+SSL socket factory. Set the `sslContextParameters` endpoint option to configure
+trust and key material for this connection instead. This option applies both
+to direct connections and to TLS connections established through an HTTP proxy.
+
+To use Camel's global `camel.ssl.*` configuration, enable
+`useGlobalSslContextParameters` on the component instance used by the endpoint.
+The `smpp` and `smpps` schemes are separate component instances, so enable the
+option for each scheme you use:
+
+[source,properties]
+----
+camel.component.smpp.useGlobalSslContextParameters = true
+camel.component.smpps.useGlobalSslContextParameters = true
+----
+
+An endpoint's `sslContextParameters` option takes precedence over the global
+configuration. For example, configure a custom TLS context on an `smpps` 
endpoint
+with:
+
+[source,text]
+----
+smpps://host:2776?sslContextParameters=#sslParams
+----
+
+The certificate of the SMSC must also match the host Camel connects to, with
+the same rules as an HTTPS client: a connection to an IP address needs a
+certificate that lists that address as a subject alternative name. Set
+`hostnameVerification=false` to turn the host check off.
 
 The handshake runs while the connection is being created, so a certificate 
that does not match makes the producer or
 consumer fail to start with an `IOException` caused by an
diff --git 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java
 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java
index 23cae0deb069..5ebdadbb9d97 100644
--- 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java
+++ 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppComponent.java
@@ -21,17 +21,20 @@ import java.util.Map;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.Endpoint;
+import org.apache.camel.SSLContextParametersAware;
 import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.annotations.Component;
 import org.apache.camel.support.DefaultComponent;
 
 @Component("smpp,smpps")
-public class SmppComponent extends DefaultComponent {
+public class SmppComponent extends DefaultComponent implements 
SSLContextParametersAware {
 
     @Metadata(label = "advanced",
               description = "A shared SmppConfiguration as the base of the 
endpoints: each endpoint uses a copy of it, which"
                             + " the options of its URI change.")
     private SmppConfiguration configuration;
+    @Metadata(label = "security", defaultValue = "false")
+    private boolean useGlobalSslContextParameters;
 
     public SmppComponent() {
     }
@@ -59,6 +62,10 @@ public class SmppComponent extends DefaultComponent {
         SmppEndpoint answer = new SmppEndpoint(uri, this, config);
         setProperties(answer, parameters);
 
+        if (config.getSslContextParameters() == null) {
+            
config.setSslContextParameters(retrieveGlobalSslContextParameters());
+        }
+
         return answer;
     }
 
@@ -83,4 +90,17 @@ public class SmppComponent extends DefaultComponent {
     public void setConfiguration(SmppConfiguration configuration) {
         this.configuration = configuration;
     }
+
+    @Override
+    public boolean isUseGlobalSslContextParameters() {
+        return useGlobalSslContextParameters;
+    }
+
+    /**
+     * Enable usage of global SSL context parameters.
+     */
+    @Override
+    public void setUseGlobalSslContextParameters(boolean 
useGlobalSslContextParameters) {
+        this.useGlobalSslContextParameters = useGlobalSslContextParameters;
+    }
 }
diff --git 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
index 8b3b757c2dfe..4f8faf9f246c 100644
--- 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
+++ 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConfiguration.java
@@ -24,6 +24,7 @@ import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriParams;
 import org.apache.camel.spi.UriPath;
+import org.apache.camel.support.jsse.SSLContextParameters;
 import org.jsmpp.bean.*;
 import org.jsmpp.session.SessionStateListener;
 import org.slf4j.Logger;
@@ -156,11 +157,16 @@ public class SmppConfiguration implements Cloneable {
                             + "default is 0.",
               label = "producer", enums = "0,1,2,3,6,8,9,10,13,18")
     private byte numberingPlanIndicator = 
NumberingPlanIndicator.UNKNOWN.value();
-    @UriParam(description = "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. The certificate of the "
-                            + "SMSC must be trusted by the default SSL socket 
factory of the JVM. Through an HTTP proxy, TLS "
-                            + "runs inside the tunnel.",
+    @UriParam(description = "Whether to connect to the SMSC with TLS, which 
the smpps scheme enables. By default, the JVM "
+                            + "default SSL socket factory is used; 
sslContextParameters can configure the SSL context instead. "
+                            + "Through an HTTP proxy, TLS runs inside the 
tunnel.",
               label = "security")
     private boolean usingSSL;
+    @UriParam(description = "The SSL context parameters used to configure TLS 
connections to the SMSC. This option does not "
+                            + "enable TLS by itself; use the smpps scheme or 
set usingSSL=true. When not set, the JVM "
+                            + "default SSL socket factory is used.",
+              label = "security")
+    private SSLContextParameters sslContextParameters;
     @UriParam(label = "security", defaultValue = "true", security = 
"insecure:ssl", insecureValue = "false")
     private boolean hostnameVerification = true;
     @UriParam(description = "The delay in milliseconds before the first 
attempt to reconnect, after the consumer or producer "
@@ -465,6 +471,17 @@ public class SmppConfiguration implements Cloneable {
         this.usingSSL = usingSSL;
     }
 
+    public SSLContextParameters getSslContextParameters() {
+        return sslContextParameters;
+    }
+
+    /**
+     * Sets the SSL context parameters to use for SSL connections to the SMSC.
+     */
+    public void setSslContextParameters(SSLContextParameters 
sslContextParameters) {
+        this.sslContextParameters = sslContextParameters;
+    }
+
     public boolean isHostnameVerification() {
         return hostnameVerification;
     }
diff --git 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java
 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java
index 9b7db82dccae..c0350481fbf4 100644
--- 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java
+++ 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConnectionFactory.java
@@ -54,6 +54,7 @@ import java.io.OutputStream;
 import java.net.InetSocketAddress;
 import java.net.Socket;
 import java.nio.charset.StandardCharsets;
+import java.security.GeneralSecurityException;
 import java.util.Base64;
 import java.util.Map;
 
@@ -62,6 +63,7 @@ import javax.net.ssl.SSLParameters;
 import javax.net.ssl.SSLSocket;
 import javax.net.ssl.SSLSocketFactory;
 
+import org.apache.camel.CamelContext;
 import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.util.IOHelper;
 import org.jsmpp.session.connection.Connection;
@@ -73,17 +75,25 @@ import org.jsmpp.session.connection.socket.SocketConnection;
  */
 public final class SmppConnectionFactory implements ConnectionFactory {
     private final SmppConfiguration config;
+    private final CamelContext camelContext;
     private final SSLSocketFactory sslSocketFactory;
+    private volatile SSLSocketFactory configuredSslSocketFactory;
 
     private SmppConnectionFactory(SmppConfiguration config) {
-        this(config, null);
+        this(config, null, null);
     }
 
     /**
-     * Creates a factory that uses the given SSL socket factory instead of the 
default one of the JVM (for testing).
+     * Creates a factory that uses the given SSL socket factory instead of the 
configured or default one (for testing).
      */
     SmppConnectionFactory(SmppConfiguration config, SSLSocketFactory 
sslSocketFactory) {
+        this(config, null, sslSocketFactory);
+    }
+
+    private SmppConnectionFactory(
+                                  SmppConfiguration config, CamelContext 
camelContext, SSLSocketFactory sslSocketFactory) {
         this.config = config;
+        this.camelContext = camelContext;
         this.sslSocketFactory = sslSocketFactory;
     }
 
@@ -91,6 +101,10 @@ public final class SmppConnectionFactory implements 
ConnectionFactory {
         return new SmppConnectionFactory(config);
     }
 
+    static SmppConnectionFactory getInstance(SmppConfiguration config, 
CamelContext camelContext) {
+        return new SmppConnectionFactory(config, camelContext, null);
+    }
+
     @Override
     public Connection createConnection(String host, int port) throws 
IOException {
         Socket socket = null;
@@ -134,8 +148,25 @@ public final class SmppConnectionFactory implements 
ConnectionFactory {
         }
     }
 
-    private SSLSocketFactory getSslSocketFactory() {
-        return sslSocketFactory != null ? sslSocketFactory : 
(SSLSocketFactory) SSLSocketFactory.getDefault();
+    private SSLSocketFactory getSslSocketFactory() throws 
GeneralSecurityException, IOException {
+        if (sslSocketFactory != null) {
+            return sslSocketFactory;
+        }
+        if (config.getSslContextParameters() == null) {
+            return (SSLSocketFactory) SSLSocketFactory.getDefault();
+        }
+
+        SSLSocketFactory answer = configuredSslSocketFactory;
+        if (answer == null) {
+            synchronized (this) {
+                answer = configuredSslSocketFactory;
+                if (answer == null) {
+                    answer = 
config.getSslContextParameters().createSSLContext(camelContext).getSocketFactory();
+                    configuredSslSocketFactory = answer;
+                }
+            }
+        }
+        return answer;
     }
 
     /**
diff --git 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java
 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java
index 3d8fc38baf76..25136784cff0 100644
--- 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java
+++ 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppConsumer.java
@@ -57,6 +57,7 @@ public class SmppConsumer extends DefaultConsumer {
     private static final String RECONNECT_TASK_NAME = 
"smpp-consumer-reconnect";
 
     private final SmppConfiguration configuration;
+    private final SmppConnectionFactory connectionFactory;
     private final MessageReceiverListener messageReceiverListener;
     private final SessionStateListener internalSessionStateListener;
 
@@ -89,6 +90,7 @@ public class SmppConsumer extends DefaultConsumer {
         this.reconnectService = createExecutor(this, endpoint, 
RECONNECT_TASK_NAME);
 
         this.configuration = config;
+        this.connectionFactory = SmppConnectionFactory.getInstance(config, 
endpoint.getCamelContext());
         this.internalSessionStateListener = (newState, oldState, source) -> {
             if (configuration.getSessionStateListener() != null) {
                 
configuration.getSessionStateListener().onStateChange(newState, oldState, 
source);
@@ -159,8 +161,7 @@ public class SmppConsumer extends DefaultConsumer {
                 new SynchronizedPDUSender(
                         new DefaultPDUSender(
                                 new DefaultComposer())),
-                new DefaultPDUReader(), SmppConnectionFactory
-                        .getInstance(configuration));
+                new DefaultPDUReader(), connectionFactory);
     }
 
     /**
diff --git 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppProducer.java
 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppProducer.java
index 3dce8326ad57..73146af1442a 100644
--- 
a/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppProducer.java
+++ 
b/components/camel-smpp/src/main/java/org/apache/camel/component/smpp/SmppProducer.java
@@ -58,6 +58,7 @@ public class SmppProducer extends DefaultProducer {
     private static final String RECONNECT_TASK_NAME = 
"smpp-producer-reconnect";
 
     private final SmppConfiguration configuration;
+    private final SmppConnectionFactory connectionFactory;
     private final SessionStateListener internalSessionStateListener;
     private final ReentrantLock connectLock = new ReentrantLock();
     // the session whose connectAndBind runs on this thread: jsmpp closes a 
session whose bind fails on the thread that
@@ -87,6 +88,7 @@ public class SmppProducer extends DefaultProducer {
         this.reconnectService = createExecutor(this, endpoint, 
RECONNECT_TASK_NAME);
 
         this.configuration = config;
+        this.connectionFactory = SmppConnectionFactory.getInstance(config, 
endpoint.getCamelContext());
         this.internalSessionStateListener = (newState, oldState, source) -> {
             if (configuration.getSessionStateListener() != null) {
                 
configuration.getSessionStateListener().onStateChange(newState, oldState, 
source);
@@ -178,8 +180,7 @@ public class SmppProducer extends DefaultProducer {
                 new SynchronizedPDUSender(
                         new DefaultPDUSender(
                                 new DefaultComposer())),
-                new DefaultPDUReader(), SmppConnectionFactory
-                        .getInstance(configuration));
+                new DefaultPDUReader(), connectionFactory);
     }
 
     @Override
diff --git 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppComponentTest.java
 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppComponentTest.java
index ba366dc6cd9e..18cee4357413 100644
--- 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppComponentTest.java
+++ 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppComponentTest.java
@@ -23,6 +23,7 @@ import org.apache.camel.CamelContext;
 import org.apache.camel.Endpoint;
 import org.apache.camel.ExchangePattern;
 import org.apache.camel.impl.DefaultCamelContext;
+import org.apache.camel.support.jsse.SSLContextParameters;
 import org.junit.jupiter.api.BeforeEach;
 import org.junit.jupiter.api.Test;
 
@@ -167,6 +168,45 @@ public class SmppComponentTest {
         assertNotNull(smppEndpoint.getCamelContext());
     }
 
+    @Test
+    public void doesNotUseGlobalSslContextParametersByDefault() throws 
Exception {
+        SSLContextParameters global = new SSLContextParameters();
+        component.getCamelContext().setSSLContextParameters(global);
+
+        Endpoint endpoint = 
component.createEndpoint("smpp://smppclient@localhost:2775", "", new 
HashMap<>());
+
+        SmppEndpoint smppEndpoint = (SmppEndpoint) endpoint;
+        assertNull(smppEndpoint.getConfiguration().getSslContextParameters());
+    }
+
+    @Test
+    public void usesGlobalSslContextParametersWhenEnabled() throws Exception {
+        SSLContextParameters global = new SSLContextParameters();
+        component.getCamelContext().setSSLContextParameters(global);
+        component.setUseGlobalSslContextParameters(true);
+
+        Endpoint endpoint = 
component.createEndpoint("smpp://smppclient@localhost:2775", "", new 
HashMap<>());
+
+        SmppEndpoint smppEndpoint = (SmppEndpoint) endpoint;
+        assertSame(global, 
smppEndpoint.getConfiguration().getSslContextParameters());
+    }
+
+    @Test
+    public void endpointSslContextParametersTakePrecedenceOverGlobal() throws 
Exception {
+        SSLContextParameters global = new SSLContextParameters();
+        SSLContextParameters endpointParameters = new SSLContextParameters();
+        component.getCamelContext().setSSLContextParameters(global);
+        component.setUseGlobalSslContextParameters(true);
+
+        Map<String, Object> parameters = new HashMap<>();
+        parameters.put("sslContextParameters", endpointParameters);
+        Endpoint endpoint = component.createEndpoint(
+                "smpp://smppclient@localhost:2775", 
"?sslContextParameters=#endpointParameters", parameters);
+
+        SmppEndpoint smppEndpoint = (SmppEndpoint) endpoint;
+        assertSame(endpointParameters, 
smppEndpoint.getConfiguration().getSslContextParameters());
+    }
+
     @Test
     public void getterShouldReturnTheSetValues() {
         SmppConfiguration configuration = new SmppConfiguration();
diff --git 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConnectionFactoryHostnameVerificationTest.java
 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConnectionFactoryHostnameVerificationTest.java
index 938c0803e946..2868dfc82a60 100644
--- 
a/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConnectionFactoryHostnameVerificationTest.java
+++ 
b/components/camel-smpp/src/test/java/org/apache/camel/component/smpp/SmppConnectionFactoryHostnameVerificationTest.java
@@ -39,6 +39,10 @@ import javax.net.ssl.SSLSocket;
 import javax.net.ssl.SSLSocketFactory;
 import javax.net.ssl.TrustManagerFactory;
 
+import org.apache.camel.impl.DefaultCamelContext;
+import org.apache.camel.support.jsse.KeyStoreParameters;
+import org.apache.camel.support.jsse.SSLContextParameters;
+import org.apache.camel.support.jsse.TrustManagersParameters;
 import org.jsmpp.session.connection.Connection;
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.BeforeEach;
@@ -66,6 +70,7 @@ class SmppConnectionFactoryHostnameVerificationTest {
     private final CountDownLatch stop = new CountDownLatch(1);
     private SSLContext serverContext;
     private SSLContext clientContext;
+    private DefaultCamelContext camelContext;
     private ServerSocket server;
 
     @BeforeEach
@@ -87,12 +92,15 @@ class SmppConnectionFactoryHostnameVerificationTest {
     }
 
     @AfterEach
-    void stopServer() throws IOException {
+    void stopServer() throws Exception {
         stop.countDown();
         if (server != null) {
             server.close();
         }
         executor.shutdownNow();
+        if (camelContext != null) {
+            camelContext.stop();
+        }
     }
 
     @Test
@@ -107,6 +115,82 @@ class SmppConnectionFactoryHostnameVerificationTest {
         }
     }
 
+    @Test
+    void connectsWhenTheCertificateIsTrustedBySslContextParameters() throws 
Exception {
+        startTlsServer();
+
+        Connection connection = 
configuredFactory(false).createConnection("localhost", server.getLocalPort());
+        try {
+            write(connection);
+        } finally {
+            connection.close();
+        }
+    }
+
+    @Test
+    void 
connectsThroughTheProxyWhenTheCertificateIsTrustedBySslContextParameters() 
throws Exception {
+        startProxyAnsweringWithTls();
+
+        Connection connection = 
configuredFactory(true).createConnection("localhost", SMSC_PORT);
+        try {
+            write(connection);
+        } finally {
+            connection.close();
+        }
+    }
+
+    @Test
+    void rejectsTheCertificateWhenSslContextParametersAreNotConfigured() 
throws Exception {
+        startTlsServer();
+
+        SmppConfiguration configuration = new SmppConfiguration();
+        configuration.setUsingSSL(true);
+        configuration.setHostnameVerification(true);
+        configuration.setEnquireLinkTimer(5000);
+        SmppConnectionFactory factory = 
SmppConnectionFactory.getInstance(configuration);
+
+        IOException e = assertThrows(IOException.class,
+                () -> factory.createConnection("localhost", 
server.getLocalPort()));
+        assertInstanceOf(SSLHandshakeException.class, e.getCause());
+    }
+
+    @Test
+    void 
rejectsTheCertificateThroughTheProxyWhenSslContextParametersAreNotConfigured() 
throws Exception {
+        startProxyAnsweringWithTls();
+
+        SmppConfiguration configuration = new SmppConfiguration();
+        configuration.setUsingSSL(true);
+        configuration.setHostnameVerification(true);
+        configuration.setEnquireLinkTimer(5000);
+        configuration.setHttpProxyHost("localhost");
+        configuration.setHttpProxyPort(server.getLocalPort());
+        SmppConnectionFactory factory = 
SmppConnectionFactory.getInstance(configuration);
+
+        IOException e = assertThrows(IOException.class,
+                () -> factory.createConnection("localhost", SMSC_PORT));
+        assertInstanceOf(SSLHandshakeException.class, e.getCause());
+    }
+
+    @Test
+    void verifiesTheHostnameWithConfiguredSslContextParameters() throws 
Exception {
+        startTlsServer();
+
+        IOException e = assertThrows(IOException.class,
+                () -> configuredFactory(false).createConnection("127.0.0.1", 
server.getLocalPort()));
+        SSLHandshakeException cause = 
assertInstanceOf(SSLHandshakeException.class, e.getCause());
+        assertTrue(cause.getMessage().contains("127.0.0.1"), 
cause.getMessage());
+    }
+
+    @Test
+    void verifiesTheHostnameWithConfiguredSslContextParametersThroughProxy() 
throws Exception {
+        startProxyAnsweringWithTls();
+
+        IOException e = assertThrows(IOException.class,
+                () -> configuredFactory(true).createConnection("127.0.0.1", 
SMSC_PORT));
+        SSLHandshakeException cause = 
assertInstanceOf(SSLHandshakeException.class, e.getCause());
+        assertTrue(cause.getMessage().contains("127.0.0.1"), 
cause.getMessage());
+    }
+
     @Test
     void failsWhenTheCertificateDoesNotMatchTheHost() throws Exception {
         startTlsServer();
@@ -195,6 +279,37 @@ class SmppConnectionFactoryHostnameVerificationTest {
         }
     }
 
+    private SmppConnectionFactory configuredFactory(boolean throughProxy) 
throws Exception {
+        if (camelContext == null) {
+            camelContext = new DefaultCamelContext();
+            camelContext.start();
+        }
+        SmppConfiguration configuration = new SmppConfiguration();
+        configuration.setUsingSSL(true);
+        configuration.setHostnameVerification(true);
+        configuration.setEnquireLinkTimer(5000);
+        configuration.setSslContextParameters(sslContextParameters());
+        if (throughProxy) {
+            configuration.setHttpProxyHost("localhost");
+            configuration.setHttpProxyPort(server.getLocalPort());
+        }
+        return SmppConnectionFactory.getInstance(configuration, camelContext);
+    }
+
+    private static SSLContextParameters sslContextParameters() {
+        KeyStoreParameters trustStore = new KeyStoreParameters();
+        trustStore.setResource("jsse/localhost.p12");
+        trustStore.setPassword(new String(PASSWORD));
+        trustStore.setType("PKCS12");
+
+        TrustManagersParameters trustManagers = new TrustManagersParameters();
+        trustManagers.setKeyStore(trustStore);
+
+        SSLContextParameters parameters = new SSLContextParameters();
+        parameters.setTrustManagers(trustManagers);
+        return parameters;
+    }
+
     private SmppConnectionFactory factory(boolean hostnameVerification, 
boolean throughProxy) {
         SmppConfiguration configuration = new SmppConfiguration();
         configuration.setUsingSSL(true);
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java
index 05a7e547a1c6..27715617a54c 100644
--- 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java
+++ 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppComponentBuilderFactory.java
@@ -885,6 +885,25 @@ public interface SmppComponentBuilderFactory {
             return this;
         }
     
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option is a:
+         * 
&lt;code&gt;org.apache.camel.support.jsse.SSLContextParameters&lt;/code&gt; 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppComponentBuilder 
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
+    
         
         /**
          * The system_id with which the consumer or producer binds to the SMSC:
@@ -905,11 +924,28 @@ public interface SmppComponentBuilderFactory {
         }
     
         
+        /**
+         * Enable usage of global SSL context parameters.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: security
+         * 
+         * @param useGlobalSslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppComponentBuilder useGlobalSslContextParameters(boolean 
useGlobalSslContextParameters) {
+            doSetProperty("useGlobalSslContextParameters", 
useGlobalSslContextParameters);
+            return this;
+        }
+    
+        
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
@@ -987,7 +1023,9 @@ public interface SmppComponentBuilderFactory {
             case "allowSystemIdAndPasswordFromHeaders": 
getOrCreateConfiguration((SmppComponent) 
component).setAllowSystemIdAndPasswordFromHeaders((boolean) value); return true;
             case "hostnameVerification": 
getOrCreateConfiguration((SmppComponent) 
component).setHostnameVerification((boolean) value); return true;
             case "password": getOrCreateConfiguration((SmppComponent) 
component).setPassword((java.lang.String) value); return true;
+            case "sslContextParameters": 
getOrCreateConfiguration((SmppComponent) 
component).setSslContextParameters((org.apache.camel.support.jsse.SSLContextParameters)
 value); return true;
             case "systemId": getOrCreateConfiguration((SmppComponent) 
component).setSystemId((java.lang.String) value); return true;
+            case "useGlobalSslContextParameters": ((SmppComponent) 
component).setUseGlobalSslContextParameters((boolean) value); return true;
             case "usingSSL": getOrCreateConfiguration((SmppComponent) 
component).setUsingSSL((boolean) value); return true;
             default: return false;
             }
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java
index 3df96c52ae4a..94bd5419e9fa 100644
--- 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java
+++ 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/SmppsComponentBuilderFactory.java
@@ -885,6 +885,25 @@ public interface SmppsComponentBuilderFactory {
             return this;
         }
     
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option is a:
+         * 
&lt;code&gt;org.apache.camel.support.jsse.SSLContextParameters&lt;/code&gt; 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppsComponentBuilder 
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
+    
         
         /**
          * The system_id with which the consumer or producer binds to the SMSC:
@@ -905,11 +924,28 @@ public interface SmppsComponentBuilderFactory {
         }
     
         
+        /**
+         * Enable usage of global SSL context parameters.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: security
+         * 
+         * @param useGlobalSslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppsComponentBuilder useGlobalSslContextParameters(boolean 
useGlobalSslContextParameters) {
+            doSetProperty("useGlobalSslContextParameters", 
useGlobalSslContextParameters);
+            return this;
+        }
+    
+        
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
@@ -987,7 +1023,9 @@ public interface SmppsComponentBuilderFactory {
             case "allowSystemIdAndPasswordFromHeaders": 
getOrCreateConfiguration((SmppComponent) 
component).setAllowSystemIdAndPasswordFromHeaders((boolean) value); return true;
             case "hostnameVerification": 
getOrCreateConfiguration((SmppComponent) 
component).setHostnameVerification((boolean) value); return true;
             case "password": getOrCreateConfiguration((SmppComponent) 
component).setPassword((java.lang.String) value); return true;
+            case "sslContextParameters": 
getOrCreateConfiguration((SmppComponent) 
component).setSslContextParameters((org.apache.camel.support.jsse.SSLContextParameters)
 value); return true;
             case "systemId": getOrCreateConfiguration((SmppComponent) 
component).setSystemId((java.lang.String) value); return true;
+            case "useGlobalSslContextParameters": ((SmppComponent) 
component).setUseGlobalSslContextParameters((boolean) value); return true;
             case "usingSSL": getOrCreateConfiguration((SmppComponent) 
component).setUsingSSL((boolean) value); return true;
             default: return false;
             }
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java
index ef3f8abc6c4b..8f09fc6b1667 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SmppEndpointBuilderFactory.java
@@ -488,6 +488,42 @@ public interface SmppEndpointBuilderFactory {
             doSetProperty("password", password);
             return this;
         }
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option is a:
+         * <code>org.apache.camel.support.jsse.SSLContextParameters</code> 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppEndpointConsumerBuilder 
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option will be converted to a
+         * <code>org.apache.camel.support.jsse.SSLContextParameters</code> 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppEndpointConsumerBuilder sslContextParameters(String 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
         /**
          * The system_id with which the consumer or producer binds to the SMSC:
          * the user name that the SMSC authenticates. The user info of the URI,
@@ -507,9 +543,9 @@ public interface SmppEndpointBuilderFactory {
         }
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option is a: <code>boolean</code> type.
          * 
@@ -525,9 +561,9 @@ public interface SmppEndpointBuilderFactory {
         }
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option will be converted to a <code>boolean</code> type.
          * 
@@ -1837,6 +1873,42 @@ public interface SmppEndpointBuilderFactory {
             doSetProperty("password", password);
             return this;
         }
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option is a:
+         * <code>org.apache.camel.support.jsse.SSLContextParameters</code> 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppEndpointProducerBuilder 
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option will be converted to a
+         * <code>org.apache.camel.support.jsse.SSLContextParameters</code> 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppEndpointProducerBuilder sslContextParameters(String 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
         /**
          * The system_id with which the consumer or producer binds to the SMSC:
          * the user name that the SMSC authenticates. The user info of the URI,
@@ -1856,9 +1928,9 @@ public interface SmppEndpointBuilderFactory {
         }
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option is a: <code>boolean</code> type.
          * 
@@ -1874,9 +1946,9 @@ public interface SmppEndpointBuilderFactory {
         }
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option will be converted to a <code>boolean</code> type.
          * 
@@ -2617,6 +2689,42 @@ public interface SmppEndpointBuilderFactory {
             doSetProperty("password", password);
             return this;
         }
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option is a:
+         * <code>org.apache.camel.support.jsse.SSLContextParameters</code> 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppEndpointBuilder 
sslContextParameters(org.apache.camel.support.jsse.SSLContextParameters 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
+        /**
+         * The SSL context parameters used to configure TLS connections to the
+         * SMSC. This option does not enable TLS by itself; use the smpps 
scheme
+         * or set usingSSL=true. When not set, the JVM default SSL socket
+         * factory is used.
+         * 
+         * The option will be converted to a
+         * <code>org.apache.camel.support.jsse.SSLContextParameters</code> 
type.
+         * 
+         * Group: security
+         * 
+         * @param sslContextParameters the value to set
+         * @return the dsl builder
+         */
+        default SmppEndpointBuilder sslContextParameters(String 
sslContextParameters) {
+            doSetProperty("sslContextParameters", sslContextParameters);
+            return this;
+        }
         /**
          * The system_id with which the consumer or producer binds to the SMSC:
          * the user name that the SMSC authenticates. The user info of the URI,
@@ -2636,9 +2744,9 @@ public interface SmppEndpointBuilderFactory {
         }
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option is a: <code>boolean</code> type.
          * 
@@ -2654,9 +2762,9 @@ public interface SmppEndpointBuilderFactory {
         }
         /**
          * Whether to connect to the SMSC with TLS, which the smpps scheme
-         * enables. The certificate of the SMSC must be trusted by the default
-         * SSL socket factory of the JVM. Through an HTTP proxy, TLS runs 
inside
-         * the tunnel.
+         * enables. By default, the JVM default SSL socket factory is used;
+         * sslContextParameters can configure the SSL context instead. Through
+         * an HTTP proxy, TLS runs inside the tunnel.
          * 
          * The option will be converted to a <code>boolean</code> type.
          * 

Reply via email to