SSL with Oracle thin driver - what would be the JDBC URL for creating a connection?JDBC connect to Oracle database with SSLJava JDBC unable to connect to a Oracle database with SSLConnecting to SSL-enabled Oracle DB through Java (JDBC)Creating an ssl connection to oracle db with JavaNLS_LANG setting for JDBC thin driver?How to use SSL with Oracle thin driver?Oracle read-only JDBC connectionConfiguring SSL connection for Oracle 12JDBC Connection Error to Oracle DatabaseOracle JDBC thin driver SSLtcps oracle tomcat thin driver not workinghow do I give the TLS1.2 parameter in the Oracle jdbc thin connection urlWhat kind of failover is used by jdbc oracle thin driver when multiple hosts provided

How to train a replacement without them knowing?

Spongy green glass found on graves

Which basis does the wavefunction collapse to?

May the tower use the runway while an emergency aircraft is inbound?

Radix2 Fast Fourier Transform implemented in C++

Adding things to bunches of things vs multiplication

Airline power sockets shut down when I plug my computer in. How can I avoid that?

Why do balloons get cold when they deflate?

Quick destruction of a helium filled airship?

Are there any rules on how characters go from 0th to 1st level in a class?

Subgroup generated by a subgroup and a conjugate of it

Will some rockets really collapse under their own weight?

How to render "have ideas above his station" into German

global variant of csname…endcsname

C++ Least cost swapping 2

Do I need to start off my book by describing the character's "normal world"?

Rotate List by K places

Why is the battery jumpered to a resistor in this schematic?

Number of matrices with bounded products of rows and columns

Check disk usage of files returned with spaces

What's a good pattern to calculate a variable only when it is used the first time?

My new Acer Aspire 7 doesn't have a Legacy Boot option, what can I do to get it?

Are unaudited server logs admissible in a court of law?

Vegetarian dishes on Russian trains (European part)



SSL with Oracle thin driver - what would be the JDBC URL for creating a connection?


JDBC connect to Oracle database with SSLJava JDBC unable to connect to a Oracle database with SSLConnecting to SSL-enabled Oracle DB through Java (JDBC)Creating an ssl connection to oracle db with JavaNLS_LANG setting for JDBC thin driver?How to use SSL with Oracle thin driver?Oracle read-only JDBC connectionConfiguring SSL connection for Oracle 12JDBC Connection Error to Oracle DatabaseOracle JDBC thin driver SSLtcps oracle tomcat thin driver not workinghow do I give the TLS1.2 parameter in the Oracle jdbc thin connection urlWhat kind of failover is used by jdbc oracle thin driver when multiple hosts provided






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















We are trying to connect to Oracle using Oracle thin driver with SSL.



We are able to connect to Oracle using thin driver using following connect string to connect without SSL - jdbc:oracle:thin:@<host>:<port>:<service_name>.



Can anyone help with the connect string if we want to use SSL encryption?



What would be the parameters to be given in JDBC URL to make a connection?



Any help would be appreciated.










share|improve this question


























  • docs.oracle.com/database/121/JJDBC/clntsec.htm#JJDBC28339

    – a_horse_with_no_name
    Mar 27 at 7:00

















0















We are trying to connect to Oracle using Oracle thin driver with SSL.



We are able to connect to Oracle using thin driver using following connect string to connect without SSL - jdbc:oracle:thin:@<host>:<port>:<service_name>.



Can anyone help with the connect string if we want to use SSL encryption?



What would be the parameters to be given in JDBC URL to make a connection?



Any help would be appreciated.










share|improve this question


























  • docs.oracle.com/database/121/JJDBC/clntsec.htm#JJDBC28339

    – a_horse_with_no_name
    Mar 27 at 7:00













0












0








0








We are trying to connect to Oracle using Oracle thin driver with SSL.



We are able to connect to Oracle using thin driver using following connect string to connect without SSL - jdbc:oracle:thin:@<host>:<port>:<service_name>.



Can anyone help with the connect string if we want to use SSL encryption?



What would be the parameters to be given in JDBC URL to make a connection?



Any help would be appreciated.










share|improve this question
















We are trying to connect to Oracle using Oracle thin driver with SSL.



We are able to connect to Oracle using thin driver using following connect string to connect without SSL - jdbc:oracle:thin:@<host>:<port>:<service_name>.



Can anyone help with the connect string if we want to use SSL encryption?



What would be the parameters to be given in JDBC URL to make a connection?



Any help would be appreciated.







oracle jdbc driver thin






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 27 at 7:57









tomerpacific

1,5811 gold badge10 silver badges26 bronze badges




1,5811 gold badge10 silver badges26 bronze badges










asked Mar 27 at 6:58









Divya GargDivya Garg

11 bronze badge




11 bronze badge















  • docs.oracle.com/database/121/JJDBC/clntsec.htm#JJDBC28339

    – a_horse_with_no_name
    Mar 27 at 7:00

















  • docs.oracle.com/database/121/JJDBC/clntsec.htm#JJDBC28339

    – a_horse_with_no_name
    Mar 27 at 7:00
















docs.oracle.com/database/121/JJDBC/clntsec.htm#JJDBC28339

– a_horse_with_no_name
Mar 27 at 7:00





docs.oracle.com/database/121/JJDBC/clntsec.htm#JJDBC28339

– a_horse_with_no_name
Mar 27 at 7:00












1 Answer
1






active

oldest

votes


















0














The only thing you add to the connect string is PROTOCOL=tcps - everything else gets set up through JSSE properties. You'll have different choices depending on whether you just want to use SSL for encryption, or whether you also want it for authentication (and if so, whether you prefer Oracle Wallets or Java Keystores).



I feel like the official SSL with Oracle JDBC Driver whitepaper is a great walkthrough (this post is basically a non-pdf version of the same info). You might also find this Oracle blog post helpful.



There's several questions on here about this topic, they have some good code examples that might be helpful: 1 2 3 4






share|improve this answer
























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371435%2fssl-with-oracle-thin-driver-what-would-be-the-jdbc-url-for-creating-a-connecti%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The only thing you add to the connect string is PROTOCOL=tcps - everything else gets set up through JSSE properties. You'll have different choices depending on whether you just want to use SSL for encryption, or whether you also want it for authentication (and if so, whether you prefer Oracle Wallets or Java Keystores).



    I feel like the official SSL with Oracle JDBC Driver whitepaper is a great walkthrough (this post is basically a non-pdf version of the same info). You might also find this Oracle blog post helpful.



    There's several questions on here about this topic, they have some good code examples that might be helpful: 1 2 3 4






    share|improve this answer





























      0














      The only thing you add to the connect string is PROTOCOL=tcps - everything else gets set up through JSSE properties. You'll have different choices depending on whether you just want to use SSL for encryption, or whether you also want it for authentication (and if so, whether you prefer Oracle Wallets or Java Keystores).



      I feel like the official SSL with Oracle JDBC Driver whitepaper is a great walkthrough (this post is basically a non-pdf version of the same info). You might also find this Oracle blog post helpful.



      There's several questions on here about this topic, they have some good code examples that might be helpful: 1 2 3 4






      share|improve this answer



























        0












        0








        0







        The only thing you add to the connect string is PROTOCOL=tcps - everything else gets set up through JSSE properties. You'll have different choices depending on whether you just want to use SSL for encryption, or whether you also want it for authentication (and if so, whether you prefer Oracle Wallets or Java Keystores).



        I feel like the official SSL with Oracle JDBC Driver whitepaper is a great walkthrough (this post is basically a non-pdf version of the same info). You might also find this Oracle blog post helpful.



        There's several questions on here about this topic, they have some good code examples that might be helpful: 1 2 3 4






        share|improve this answer













        The only thing you add to the connect string is PROTOCOL=tcps - everything else gets set up through JSSE properties. You'll have different choices depending on whether you just want to use SSL for encryption, or whether you also want it for authentication (and if so, whether you prefer Oracle Wallets or Java Keystores).



        I feel like the official SSL with Oracle JDBC Driver whitepaper is a great walkthrough (this post is basically a non-pdf version of the same info). You might also find this Oracle blog post helpful.



        There's several questions on here about this topic, they have some good code examples that might be helpful: 1 2 3 4







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 27 at 13:32









        kfinitykfinity

        3,9771 gold badge7 silver badges14 bronze badges




        3,9771 gold badge7 silver badges14 bronze badges





















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55371435%2fssl-with-oracle-thin-driver-what-would-be-the-jdbc-url-for-creating-a-connecti%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript