<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Learningtamizha on Medium]]></title>
        <description><![CDATA[Stories by Learningtamizha on Medium]]></description>
        <link>https://medium.com/@learningtamizha11?source=rss-c1f347a51900------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*PTvOJ6-k7C-iVBRJ</url>
            <title>Stories by Learningtamizha on Medium</title>
            <link>https://medium.com/@learningtamizha11?source=rss-c1f347a51900------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 06:45:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@learningtamizha11/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ Configure Gmail SMTP Server in IBM Integration Bus (IIB/ACE)]]></title>
            <link>https://medium.com/@learningtamizha11/configure-gmail-smtp-server-in-ibm-integration-bus-iib-ace-3917ca082347?source=rss-c1f347a51900------2</link>
            <guid isPermaLink="false">https://medium.com/p/3917ca082347</guid>
            <category><![CDATA[ibm-ace]]></category>
            <category><![CDATA[ibm-app-connect]]></category>
            <dc:creator><![CDATA[Learningtamizha]]></dc:creator>
            <pubDate>Thu, 21 Aug 2025 11:08:59 GMT</pubDate>
            <atom:updated>2025-08-21T11:08:59.779Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the powerful features of IBM Integration Bus (now IBM App Connect Enterprise) is the ability to integrate with external systems, including email servers. By configuring an SMTP server connection, you can send automated emails directly from your message flows.</p><p>Sending emails directly from your integration flows is a common enterprise requirement. With IBM Integration Bus (IIB) or IBM App Connect Enterprise (ACE), you can easily connect to an SMTP server to send messages.</p><p>In this blog, we’ll set up Gmail’s SMTP with TLS, authentication, and a simple HTTP-to-Email flow.</p><h3>🔄 Flow Overview</h3><p>The sample flow we’ll use looks like this:</p><pre>HTTPInput → ComputeNode → EmailOutput → HTTPReply</pre><ul><li>HTTPInput Node → Accepts JSON payload from a client.</li><li>Compute Node → Maps input fields into email headers.</li><li>EmailOutput Node → Sends the email via Gmail SMTP.</li><li>HTTPReply Node → Returns a response to the sender.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*GbfmZlKbfmkRltlaOFVDnw.png" /></figure><h3>🛠️ Step 1: Create ESQL for Compute Node</h3><p>Inside the Compute Node, use ESQL code to set email metadata and message body:</p><pre>SET OutputRoot.EmailOutputHeader.From = InputRoot.JSON.Data.EmailFrom;<br>SET OutputRoot.EmailOutputHeader.To   = InputRoot.JSON.Data.EmailTo;<br>SET OutputRoot.BLOB.BLOB = CAST(InputRoot.JSON.Data.Message AS BLOB CCSID 1208);</pre><p>This will map JSON fields (EmailFrom, EmailTo, Message) to the format required by the EmailOutput node.</p><h3>🔑 Step 2: Configure Gmail SMTP</h3><h3>a. Stop the Integration Node</h3><p>First, stop the node before making changes:</p><pre>mqsistop &lt;NODENAME&gt;</pre><h3>b. Store Credentials (Use Gmail App Password)</h3><pre>mqsisetdbparms EMAILNODE -n smtp::&lt;securityname&gt; -u &lt;email&gt; -p &lt;apppassword&gt;</pre><ul><li>&lt;securityname&gt; → Reference name for credentials (e.g., gmail_smtp).</li><li>&lt;email&gt; → Your Gmail address.</li><li>&lt;apppassword&gt; → Gmail App Password.</li></ul><p>👉 Note: Gmail requires an App Password, which you can generate after enabling 2-Step Verification under <em>Google Account Security &gt; App Passwords</em>.</p><h3>🔒 Step 3: Enable TLS and SMTP Authentication</h3><p>Gmail SMTP requires STARTTLS and authentication. Run:</p><pre>mqsichangeproperties &lt;NODENAME&gt; -e &lt;SERVERNAME&gt; -o ComIbmJVMManager \<br>  -n jvmSystemProperty \<br>  -v &quot;-Dmail.smtp.starttls.enable=true -Dmail.smtp.auth.enable=true&quot;</pre><ul><li>&lt;NODENAME&gt; → Your integration node name.</li><li>&lt;SERVERNAME&gt; → Integration server name (e.g., default).</li></ul><p>Without enabling these flags, you’ll face authentication or SSL errors.</p><h3>▶️ Step 4: Restart the Node</h3><p>After updating properties, restart the node:</p><pre>mqsistart &lt;NODENAME&gt;</pre><h3>🌍 Step 5: SMTP Server Configuration</h3><p>In the EmailOutput Node properties:</p><ul><li>SMTP Host → smtp.gmail.com</li><li>Port → 587 (TLS)</li><li>Security Identity → Use the security alias you configured earlier (e.g., gmail_smtp).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*CvGJKV2lK5h2Aec40oujXw.png" /></figure><h3>📥 Step 6: Send a Test Request</h3><p>Here’s a sample JSON input you can send to your HTTPInput Node:</p><pre>{<br>   &quot;EmailFrom&quot;: &quot;your_gmail_address@gmail.com&quot;,<br>   &quot;EmailTo&quot;: &quot;learningtamizha11@gmail.com&quot;,<br>   &quot;Message&quot;: &quot;Hi Sathish, this is for testing the EmailOutput node in IIB/ACE.&quot;<br>}</pre><ul><li>Replace your_gmail_address@gmail.com with your Gmail address.</li><li>The EmailOutput node will send this message using Gmail SMTP.</li></ul><h3>✅ Summary</h3><p>Here’s what we did to enable Gmail SMTP in IIB/ACE:</p><ol><li>Designed a flow with HTTPInput → Compute → EmailOutput → HTTPReply.</li><li>Wrote ESQL to map JSON input to email fields.</li><li>Configured Gmail SMTP with App Passwords.</li><li>Enabled TLS + SMTP authentication in node properties.</li><li>Restarted the node and tested with sample JSON.</li></ol><h3>📌 Notes &amp; Best Practices</h3><ul><li>Use Gmail App Passwords (mandatory when 2-Step Verification is enabled).</li><li>Always select port 587 with TLS for Gmail.</li><li>If using another SMTP server, update host/port/security settings accordingly.</li><li>Store credentials securely using mqsisetdbparms rather than hardcoding.</li></ul><p>With this setup, your IIB/ACE message flows can send emails securely using Gmail’s SMTP server. This is a great way to deliver alerts, confirmations, or reports straight from your integration layer! 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3917ca082347" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Configuring Basic Authentication in IBM ACE/IIB Using Vault Keys]]></title>
            <link>https://medium.com/@learningtamizha11/configuring-basic-authentication-in-ibm-ace-iib-using-vault-keys-5a38f56154d7?source=rss-c1f347a51900------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a38f56154d7</guid>
            <category><![CDATA[ibm-ace]]></category>
            <category><![CDATA[ibm-app-connect]]></category>
            <dc:creator><![CDATA[Learningtamizha]]></dc:creator>
            <pubDate>Thu, 21 Aug 2025 10:34:42 GMT</pubDate>
            <atom:updated>2025-08-21T10:34:42.806Z</atom:updated>
            <content:encoded><![CDATA[<p>When working with IBM App Connect Enterprise (ACE) or IBM Integration Bus (IIB), securing your integration nodes is a key priority. One secure way to handle sensitive credentials such as usernames and passwords is through vault keys.</p><p>Vault keys allow developers and administrators to store and retrieve credentials securely, instead of hardcoding them in flows or policy files. In this blog, we’ll walk through the entire process of setting up Basic Authentication with Vault Key–based credential management.</p><h3>🔑 Why Use Vault Keys?</h3><ul><li>Secure storage of sensitive credentials.</li><li>Centralized credential management.</li><li>No hardcoding credentials inside flows.</li><li>Credentials can be reused across multiple flows or nodes.</li></ul><h3>🚀 Step-by-Step Setup</h3><h3>1. Stop the Integration Node</h3><p>Before configuring credentials, make sure your integration node is stopped.</p><pre>mqsistop &lt;nodename&gt;</pre><p>Replace &lt;nodename&gt; with the name of your integration node.</p><h3>2. Create a Vault and Vault Key</h3><p>Next, create a vault and initialize it with a vault key. This vault will be used to store credentials.</p><pre>mqsivault &lt;nodename&gt; --create --vault-key &lt;vaultkey&gt;</pre><ul><li>&lt;nodename&gt; → Your integration node name.</li><li>&lt;vaultkey&gt; → A secure vault key identifier (e.g., vaultkey1).</li></ul><h3>3. Store Credentials in the Vault</h3><p>Now, add credentials (such as local admin username and password) to the vault.</p><pre>mqsicredentials RETAILBANKING --create --vault-key &lt;vaultkey&gt; \<br>  --credential-type local --credential-name LocalCredentialsAlias \<br>  --username &lt;username&gt; --password &lt;password&gt;</pre><ul><li>RETAILBANKING → The resource name you want to secure.</li><li>--vault-key &lt;vaultkey&gt; → Vault key created in Step 2.</li><li>--credential-type local → Means credentials are for local authentication.</li><li>--credential-name → An alias (e.g., LocalCredentialsAlias).</li></ul><h3>4. Restart the Integration Node with the Vault Key</h3><p>After storing credentials, start the node again, specifying the vault key.</p><pre>mqsistart &lt;nodename&gt; --vault-key &lt;vaultkey&gt;</pre><h3>5. Create a Policy Project in ACE/IIB Toolkit</h3><p>Inside the IBM Integration Toolkit:</p><ul><li>Create a Policy Project.</li><li>Add a Security Profile policy.</li><li>Set Authentication as Local.</li><li>In the configuration, specify the credential name created earlier (LocalCredentialsAlias).</li><li>Save and leave other defaults unchanged.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*Dcfvr6lbv6mlsKs2stBoZg.png" /></figure><h3>6. Apply the Security Policy in Your Flow</h3><p>For example, if you’re using an HTTP Input Node:</p><ul><li>Open node properties.</li><li>Under the Security section, attach the new security policy.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tXuR8-nrDj_SIXmqTCWmeA.png" /></figure><p>Deploy the flow to the server where the vault key was created.</p><h3>7. Test with Postman (or any REST client)</h3><p>Once deployed, you can test the secured integration:</p><ul><li>In Postman, choose Basic Auth under Authorization.</li><li>Use the same username and password stored in the vault.</li><li>Send a request and verify that authentication works.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1onGFWC3UZ0tbELIwFNeXw.png" /></figure><h3>8. Destroying Vault Credentials (Cleanup)</h3><p>If you need to remove vault credentials, you can destroy them using</p><pre>mqsivault &lt;nodename&gt; --destroy</pre><h3>✅ Summary</h3><p>By configuring Basic Authentication with Vault Keys, you:</p><ul><li>Protect sensitive credentials.</li><li>Decouple authentication from integration flows.</li><li>Centralize management of usernames and passwords.</li></ul><p>This approach secures your IIB/ACE nodes while providing flexibility in managing authentication credentials.</p><p>💡 Tip: Always use strong vault key names and credentials, and restrict access to those who need it. Security is most effective when paired with strong governance practices.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a38f56154d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>