<?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 Tamil Raja on Medium]]></title>
        <description><![CDATA[Stories by Tamil Raja on Medium]]></description>
        <link>https://medium.com/@tamilraja?source=rss-f248b8b83485------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*KQWIyDbCQ4PIHD2U.</url>
            <title>Stories by Tamil Raja on Medium</title>
            <link>https://medium.com/@tamilraja?source=rss-f248b8b83485------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:58:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tamilraja/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[Aadhaar Verification in Laravel]]></title>
            <link>https://medium.com/ideas2it/aadhaar-verification-in-laravel-b0fb48868f7d?source=rss-f248b8b83485------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0fb48868f7d</guid>
            <category><![CDATA[php]]></category>
            <category><![CDATA[kyc]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[laravel]]></category>
            <category><![CDATA[aadhaar]]></category>
            <dc:creator><![CDATA[Tamil Raja]]></dc:creator>
            <pubDate>Wed, 18 Jan 2017 07:25:08 GMT</pubDate>
            <atom:updated>2017-01-18T13:35:28.854Z</atom:updated>
            <content:encoded><![CDATA[<p>A centralized Identity system a la SSN in the USA has been sorely lacking in India. But with the critical mass Aadhaar scheme has gained and the API ecosystem maturing around it, finally we have a viable option for identity.</p><p>We have been leveraging this in many applications to implement disruptive use cases like social lending.</p><p>Here, we are going to show how to integrate Aadhaar verification using <a href="http://bridge.aadhaarconnect.com/api-doc.html#/page/Overview">Aadhaar Bridge</a> in Laravel.</p><p><strong>Aadhaar Bridge Flow Diagram</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dh1gY2wVANIgl1O9AsgNNw.png" /></figure><p>Following are the steps to achieve the verification process</p><ol><li>Create Digital Signature Agreement</li><li>IP White listing</li><li>Server Setup</li><li>Integration with Laravel</li></ol><p><strong>1. Create Digital Signature Agreement</strong></p><p>To create a digital agreement, we have to register in the Aadhaar Bridge website. There are four Aadhaar verification transactions available. We have created an account in the Aadhaar Bridge for “AUTH” Aadhaar transaction.</p><p><a href="http://bridge.aadhaarconnect.com/">Click</a> on the link and perform the “Sign-Up” process. After this, the User will receive the User Activation link via Email post which the User should create an account.</p><p>To create the Digital Agreement(SUB AUA Agreement) we have to log in to the site and download the agreement. Upload the signed agreement in the same Aadhaar Bridge URL as shown in the figure below. Once the agreement verification and validation are performed, the account will be activated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s46qC8l3h16UXJWcOC4uvg.png" /></figure><p><strong>2.IP Whitelisting</strong></p><p>To Whitelist the IP from which our request will be originating, we have to create .cer file and upload in the following form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*Bd12O7h8mMmt1v_TKktGBA.png" /></figure><p>2.1 Create private key with a validity</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/90291cad89e3cfc8ce6b8844d0e15ef4/href">https://medium.com/media/90291cad89e3cfc8ce6b8844d0e15ef4/href</a></iframe><p>2.2 Create CSR (Certificate Signing Request) for above key</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/67bee0da3e83db6cc492da3039beed19/href">https://medium.com/media/67bee0da3e83db6cc492da3039beed19/href</a></iframe><p>Details to be ensured while generating the “CSR” through the terminal window by the customer:</p><ul><li>ALIAS_NAME : This could be anything.</li><li>COMP_NAME : This could be anything.</li><li>COMMON_NAME : This should be the same as the contact person’s name.</li><li>sample@abc.com : This should be same as the login email id.</li><li>ORG_UNIT : Value should be “Khosla Labs”</li><li>ORGANIZATION_NAME : This should be same as the organization name in the Sub-AUA’s profile for an organization. Can be anything for an individual.</li></ul><p>Generation of a new Certificate: Once the CSR file is generated, generate the certificate by uploading the CSR on the same page itself. If the CSR file is validated, a certificate will be generated and thereafter will be shown on the screen. Download the certificate and save it in the local system.</p><p><strong>3.Server Setup</strong></p><p>To setup the server we need to download the setup zip file from the following link:<br> Resources –&gt;JAVA DEVELOPERS</p><p>Setup Zip file will contain the .jar and application.properties file. We need to configure the application.properties file to complete the server setup.</p><p>Generating and adding the P12 file path is one of the important configuration processes. Run the following command to generate the P12 file</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/673baadd4f24b5f12fb2579a45e52bb0/href">https://medium.com/media/673baadd4f24b5f12fb2579a45e52bb0/href</a></iframe><p>In the application properties file, enter the configuration based on our profile. URLs for the same are mentioned below:</p><p><strong>Property</strong> <strong>Endpoint</strong></p><ul><li>keystore.location P12 file location</li><li>keystore.pass Password (Same password what we have used to generate the .jks file)</li><li>keystore.alias Alias name</li><li>x09cert.location .cer file location</li><li>aua.host.auth.url <a href="https://bridge.aadhaarconnect.com/aua/auth">https://bridge.aadhaarconnect.com/aua/auth</a></li><li>subaua.code SUB AUA Code</li><li>timeout.in.sec Time limit</li><li>server.port Port number</li></ul><p>Once the properties file is configured with our certificate location, keystore passcode, service URL and SubAUA code, run the gateway application using the following command:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec77886c027c1597fb410620585e0dd8/href">https://medium.com/media/ec77886c027c1597fb410620585e0dd8/href</a></iframe><p>(Note : On Executing the command, the JAR will auto-launch the Tomcat server, which requires Java-7 to be installed on our server.)</p><p><strong>4.Integration with Laravel</strong></p><p>Here are a few code snippets for the Laravel API calls.</p><p>Sample Base URL: <a href="http://128.199.50.45:5181/">http://128.199.50.45:5181</a> (server is running on IP 128.199.50.45 at port 5181)</p><p>Add the following route in the routes.php:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7e4e40c45b8416e136094eb7c6bbef0d/href">https://medium.com/media/7e4e40c45b8416e136094eb7c6bbef0d/href</a></iframe><p>Add the following controller file AadhaarVerificationController.php with function adhaarVerification</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7c6f07f41c3cffa83fe04337b4ab7f60/href">https://medium.com/media/7c6f07f41c3cffa83fe04337b4ab7f60/href</a></iframe><p>Sample API call for Aadhaar verification:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/45995d06b084382b49aefd73d1137717/href">https://medium.com/media/45995d06b084382b49aefd73d1137717/href</a></iframe><p>Input:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5d5c1726dc64c9b3d532541c65e000c2/href">https://medium.com/media/5d5c1726dc64c9b3d532541c65e000c2/href</a></iframe><p>Output:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/07a81dfc82e61ff3f55decb853b04dc7/href">https://medium.com/media/07a81dfc82e61ff3f55decb853b04dc7/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0fb48868f7d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ideas2it/aadhaar-verification-in-laravel-b0fb48868f7d">Aadhaar Verification in Laravel</a> was originally published in <a href="https://medium.com/ideas2it">Ideas2IT</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>