Secure Socket Transport in OSB

Hi
How to create a secure socket Transport Provider (TCP/IP) in oracle service bus?
Thanks and regards
Muthuvignesh.M

Hi
Thanks for ur reply.
i've installed the socket transport code that comes with the installer and i've changed it to secure socket (SSL) connections. i've problem in using service key provider with the secure socket transport.
Thanks and regards
Muthuvignesh.M

Similar Messages

  • Socket Transport for OSB WLS in UNIX

    Hi All,
    when Weblogic /OSB server is running on UNIX ,how to configure SOCKET transport in OSB.
    any difference in process from http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/example.htm#BABEEHGF.
    Please let me know .

    Hi,
    There is also the "Oracle JCA Adapter for Sockets" that you can access via JCA transport... Couldn't find much documentation available though...
    http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/jca.htm#i1106345
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • OSB using socket Transport ,how to keep a TCP connection open

    hi my firends,
    i met a problem , our project need build an OSB to control a socket service which is able to transfer a big data file (maybe a voice file,*.wav),and the client program will play the voice file on live.
    So my solution is that : keep a socket (tcp) connection open,client listen port and makes date play.
    but i can't make the OSB socket transport alway open,it will timeout after a few second if have none date received.
    how could i deal with it ... pls let me konw if you have any idea...i will wait you on line
    thanks guys

    Hi,
    I'm not sure if that's achievable using OSB, and even if it was, I don't think OSB was designed having this type of application in mind...
    I understand that you need a media streaming solution and I'm pretty sure that there are plenty of tools out there that can help you in doing that, and maybe some of them can be integrated with OSB in some way...
    Cheers,
    Vlad

  • Want  install socket server on OSB

    I want create 1 socket transport provider and if any client can connect to the server socket and get data back .
    The example (given URL below) showing an option to choose ''socket" in protocol dropdown box under Transport Configuration in BusinessService. But when I am trying to create it, I did not find any options in both OSB Console and OSB workshop .
    To get above "Socket" option , i need to install socket server on OSB.
    My Requirement is:
    I wil receive an input data in .xml format <----> convert to Fixed string with the help of MFL and send to <--->socket transport provider <--->Mainframe Service running on TCP/IP . So need to choose "socket" option while creating business service.
    For Reference: please see this link
    Example Link: http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/transportsdk/example.html#wp1036563
    Please let me know if any solutions

    D:\Oracle\Middleware\osb\11gPS2\Oracle_OSB1\samples\servicebus\sample-transport contains a simple transport for TCP/IP port. You can extend this to support your use case..
    Manoj

  • SecureSocketListener: Could not setup context and create a secure socket on 142.182.112.123:5555 : java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11. java.security.cert.Certifica

    HI Team,
    while starting the node manager in wls 8.1 and java1.4
    we are facing this issue plz help on this immediately.
    + CLASSPATH=/srvrs/bdv/patches/CR210310_81sp4.jar:/usr/java14/lib/tools.jar:/srvrs/bdv/bea/weblogic81/server/lib/weblogic_sp.jar:/srvrs/bdv/bea/weblogic81/server/lib/weblogic.jar::/srvrs/bdv/bea
    + export CLASSPATH
    + export PATH
    + set -x
    + [ 5555 !=  ]
    + [ 142.182.112.123 !=  ]
    + /usr/java14/bin/java -Xms32m -Xmx32m -Dweblogic.security.SSL.enforceConstraints=off -Djava.security.policy=/srvrs/bdv/bea/weblogic81/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/usr/java14 -DListenAddress=142.182.112.123 -DListenPort=5555 weblogic.NodeManager
    <Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <NodeManager: for information on command line options,  try "java weblogic.NodeManager -h">
    <Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Starting NodeManager >
    <Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Setting listenAddress to 142.182.112.123..>
    <Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Setting listenPort to 5,555..>
    <Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Setting java home to '/usr/java14'>
    <Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Effective values of properties :
            ListenAddress=142.182.112.123
            ListenPort=5555
            ListenerType=secureSocket
            SavedLogsDirectory=NodeManagerLogs
            NativeVersionEnabled=true
            TrustedHosts=nodemanager.hosts
            StartTemplate=../../server/lib/unix/nodemanager.sh
            ReverseDnsEnabled=false
            ScavangerDelaySeconds=180
            PIDFileReadRetryCount=0
            WeblogicHome=null
            bea.home=null
            JavaHome=/usr/java14
            PropertiesVersion=8.1
    >
    <Sep 15, 2013 7:35:26 AM EDT> <Info> <NodeManager> <Saving logs in'NodeManagerLogs'>
    <Sep 15, 2013 7:35:31 AM EDT> <Info> <[email protected]:5555> <Reading private key and certificate chain from the keystore /srvrs/bdv/bea/weblogic81/server/lib/DemoIdentity.jks. KeyStore type = jks, Using keystore passphrase = true, Alias = DemoIdentity>
    <Sep 15, 2013 7:35:31 AM EDT> <Info> <[email protected]:5555> <Reading trusted CAs from the keystore /srvrs/bdv/bea/weblogic81/server/lib/DemoTrust.jks. KeyStore type = jks, Using keystore passphrase = true>
    <Sep 15, 2013 7:35:31 AM EDT> <Info> <[email protected]:5555> <Reading trusted CAs from the keystore /usr/java14/jre/lib/security/cacerts. KeyStore type = jks, Using keystore passphrase = false>
    SecureSocketListener: Could not setup context and create a secure socket on 142.182.112.123:5555 : java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.
    java.security.cert.CertificateParsingException: PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11
            at com.certicom.security.cert.internal.x509.X509V3CertImpl.<init>(Unknown Source)
            at com.certicom.tls.interfaceimpl.CertificateSupport.addTrustedCertificate(Unknown Source)
            at com.certicom.net.ssl.SSLContext.addTrustedCertificate(Unknown Source)
            at com.bea.sslplus.CerticomSSLContext.addTrustedCA(Unknown Source)
            at weblogic.security.utils.SSLContextWrapper.addTrustedCA(SSLContextWrapper.java:52)
            at weblogic.nodemanager.internal.SecureSocketListener.run(SecureSocketListener.java:57)
            at weblogic.nodemanager.internal.GenericListener.startListener(GenericListener.java:16)
            at weblogic.nodemanager.NodeManager.startSecureSocketListener(NodeManager.java:461)
            at weblogic.nodemanager.NodeManager.init(NodeManager.java:305)
            at weblogic.nodemanager.NodeManager.run(NodeManager.java:511)
            at weblogic.NodeManager.main(NodeManager.java:31)
    Thanks,
    Eswar

    Hi,
    Did you find a solution to this? We are running into the same issue since upgrading to Weblogic 9.2.3 for WebCT Vista 8.0.4.
    Thanks,
    Ron

  • EJB Transport in OSB 10gR3

    Hi All,
    I need help on EJB transport in OSB 10gR3.
    In our scenario, a proxy will poll a location for any incoming file (xml). Once any file comes, proxy service will pick that file and pass it to the business service which will call an EJB deployed on weblogic 8.15 and pass incoming file to EJB by calling it's one operation.
    My questions are -
    1. Which kind of argument can be passed to EJB in above case (means can we pass the incoming xml as String or we have to pass it as the type of root node in xml)
    2. Is there any documentation which describes the implementation of above scenario in OSB?
    Thanks & Regards,
    Anuj Dwivedi

    Bala,
    the OSB Gives The JNDI Provider "ormi" does not exist.
    Reference to a non-existing instance: ForeignJNDIProvider System/JNDI Providers/ormi Have you configured Foreign JNDI http://e-docs.bea.com/wls/docs103/ConsoleHelp/taskhelp/jndi/ManageForeignJNDI.html
    Are you aware of this note http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/ejbTransport/ejbtransport.html#wp1074283
    "Although it is possible to use a WebLogic Server foreign JNDI Provider, Oracle recommends that you do not. "
    Involve your Oracle Sales Representative/Support Representative to suggest this enhancement to OSB for supporting ORMI in OSB jndi provider. If you are licensed customer it becomes your right to make your suggestion known to Oracle and if you are not licensed customer then you got a valuable bargain chip :) . In either case talk to you Oracle representative to know official recommended approach from Oracle and also if enhancement can implemented or not.
    Meanwhile I would suggest using IIOP/IIOPs which is supported by OSB to access EJB on your Oracle Application Server.
    http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28958/jndi.htm
    http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28958/jndi.htm#i1084614
    Manoj

  • How to create HTTPS or secure Socket objects in JDK 1.4?

    I would like to see sample working code that shows creation
    of Sockets objects that work with HTTPS using JDK 1.4. I am doing
    a POST operation (form submission) on HTTPS URL. I must use Socket
    objects and cannot use URLConnection (I know URLConnection solves the problem automatically in JDK 1.4).
    Also sample code for POST operation would be appreciated.

    I wrote this a little while ago to test out Secure Sockets in 1.4. I assume you are doing the client since you are trying talk to a website or something like that, anyway this test class is tested and works, but you will have to clean it up.
    Pup
    import java.io.*;
    import java.security.*;
    import javax.net.ssl.*;
    public class HelloClientSSL {
        public static void main(String[] args) {
            try {
                int port = 8005;
                int tempport =0;
                if(args.length > 1) {
                    try {
                        tempport = Integer.parseInt(args[1]);
                        port = tempport;
                    catch (Exception e) {
                        System.out.println("Sorry this is not a valid number " + args[1]);
                        System.out.println("Using Default port 8005");
                Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());           
                SSLSocketFactory sslFact = (SSLSocketFactory)SSLSocketFactory.getDefault();
                SSLSocket s = (SSLSocket)sslFact.createSocket(args.length == 0 ? "127.0.0.1" : args[0], port);
                s.setEnabledCipherSuites(s.getSupportedCipherSuites());
                java.net.Socket n = (java.net.Socket) s;
                java.io.ObjectOutputStream OOS = new java.io.ObjectOutputStream(n.getOutputStream());
                BufferedReader in = new BufferedReader (new InputStreamReader(n.getInputStream()));
                String response = "";
                String temp = "This is reall cool and stuff\n";
                OOS.writeObject(temp);
                OOS.writeObject("Hello\n");
                while((response =in.readLine()) != null){
                    System.out.println("Socket message: " + response);
                in.close();
            } catch (Exception e) {
                System.out.println("Exception" + e);
                e.printStackTrace();
    }

  • Secure Socket Layer

    My last question was regarding Data Validation and I did not get any feedback but from One person. I'll try my luck again. Can as many of you answer the following questions:
    Is anyone using Secure Socket Layer in their applications, If yes, was hit hard to configure and why?
    If Not, did the auditors raise any concerns about the use of LDAP over the internet regarding encryption? and how were they satisfied?

    No respect. Oracle has this documented pretty well now. http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_ssl.pdf
    I can't speak for all auditors, but that is usually step one.

  • Should i use secure sockets for my whole client/server application?

    Hi,
    I have a client server application, and I want to ensure that the login process is secure (i.e. use secure sockets). but I dont know how to switch back to a normal socket once that is done.
    So I am left thinking that i should just use SSL for my whole application, which can last pretty long. But I would rather not. Is there any other way of doing this?
    or should I just encrypt the login info using MD5 or something like that, then send it over an unsecure socket?
    thanks!

    Hey,
    Are you sure you haven't confused JGSS for JSSE?
    Imagine you have a client-server system and you sometimes want data sent over the wire to be encrypted... JGSS offers you this flexibility; if you a encrypted transmission, run ift through JGSS before transmitting it; if you don't want an encrypted transmission, bypass JGSS and just send the transmission.
    The benefit is the security (encryption) isn't hard-wired into you communications protocol i.e. TLS. JGSS has nothing to do with connections it is just protocol for securing messages, not sending them.
    You would need to establish the secure context but this could be done at startup and persist for the duration of you applicaiton invocation. You perhaps might need to implement a mechanism to identify encrypted messages on the receiving peer (so it knows to attempt decryption).
    Admittedly, kerberos seems like one of those 'inside-joke' things. I've come to realise if you don't have some sort of kerberos realm/server against which to authenticate - you need to swap it out as the underlying mechanism. How this is done I'm not sure yet, but I intend to find out today....further down the rabbit hole I go!
    If I discover anything helpful, I will let you know.
    Warm regards,
    D

  • Problem with unchecking secure sockets layer checkbox in outgoing SMTP server Apple Mail / Mountain Lion

    After installing Mountain Lion my mail was converted and all my messages showed up, however, when I try to send I get an error. I have traced this error to the fact that Apple has automatically checked the box "Use Secure Sockets Layer (SSL)" in my Apple Mail preferences even though it wasn't checked before upgrading.  Now whenever I try to uncheck it it keeps filling itself back in.  I have tried to delete that outgoing server and readd it and it continues to check the box.

    Hi
    I have a similar problem here i have work accounts which do not need the SSL ticked but when I uncheck the box and in a  few seconds the tick is back up again sometimes I have to click about 10 times or so for it to stay off. I tried to do your sollution it did not work on your suggested port but seemed to work on the 25 port . Also I found i only have the problem when I am at work were we are on a PC network and firewall. It seemed to work fine on a normal home line. Also it only happens on Mountain Lion I have a older macbook with snowleopard and there i have not problems sending messages
    as right it was said Apple needs to look into that ASAP as it is very frustrating

  • Download of Adobe Acrobat XI Pro Abo failed - problem "socket transport".  What to do? I am using Safari and OS Maverick...

    I tried to download - it failed with "socket transport" problem. I tried a few times - always the same. What can I do?

    Hi Salus66,
    You may follow the steps from this thread: XLPro  Dowload Assitant fails to launch.
    Regards,
    Ajlan Huda

  • TS3276 I can't send messages with mail 6.0 of mountain lion, because I can't desactivate the option SSL (Secure sockets Layers); it is locked

    I can't send messages with mail 6.0 of mountain lion, because I can't desactivate the option SSL (Secure sockets Layers); it is locked

    Hi, i am having the same problem. this is what i have noticed.
    I have 2 x imac's and 2 x macbook air's
    i upgraded the 2 macbook air's and 1 of the imac's to Mountain Lion, all these have problems acessing sites that require you to login .
    the one remaining imac is still running lion and works perfect.
    i am using a dlink router with DD-WRT firmware, i tested teathering from my iphone and i can log into websites fine using the newly upgraded mac's.
    It's not a wireless issue as my imac is using an ethernet connection.
    is there a compatibility issue with some routers.

  • Unsecure socket to secure socket at runtime /help required

    I have an IMAP4 server in Java. I want to implement RFC2595 (TLS support) for it.
    Now I can listen on a separate secure socket, and use the various examples provided by JSSE to do this.
    However, this is discouraged in the RFC. It recommends using the unsecure port 143 and negotiating a secure connection via the STARTTLS command.
    The STARTTLS is sent unencrypted. Once the server accepts the STARTTLS and returns an OK response to the client an SSL negotiation is supposed to take place.
    My question is how do I achieve this with JSSE.
    Any help will be appreciated.
    Regards
    Vikash

    Does SSLSocketFactory.createSocket(Socket,...) work for you? Haven't used it myself, but it's supposed to be for exactly this case.
    Good luck!
    Grant

  • MQ Transport within OSB - Put to remote Q?

    Hi Guys,
    We're working on a project down under that is targeted at an environment that makes heavy use of IBM's MQ transport.
    In developing with the MQ Transport available from Oracle we've found certain limitations in it's use, specifically:
    1) unable to put to a remote queue definition on the local queue manager.
    2) unable to put a message to a queue existing on a remote queue manager which is defined on the local queue manager.
    These examples are connecting to the local queue manager in tcp (client) mode. Putting to local queues on the local queue manager, or clustered queues visible from the local queue manager work fine.
    Surely there is a way the MQ Transport within OSB can facilitate the above 2 scenarios?
    FWIW, we're using Weblogic version 10.3.0.0 and OSB version 10gR3
    Edited by: user12006489 on Dec 20, 2009 4:09 PM
    Edited by: user12006489 on Dec 20, 2009 4:10 PM

    I should further elaborate on my initial question:
    On the local queue manager is a remote queue manager definition to another queue manager. Using the MQ Transport, how can I send a message to a queue that exists on that remote queue manager?
    In the MQ URI string ends up looking something like mq://REMOTE_QMGER/REMOTE_QUEUE, but this format violates the MQ Transport URI field formatting.
    Has anyone had any experience with this?
    Edited by: user12006489 on Dec 20, 2009 4:57 PM

  • Security Error - Secure sockets

    Hi,
    We have a application deployed on a Solaris Server. This is a Vignette Portal application.
    We have an integration with webmethods and we need to use SSL for secure connection.
    But while we are trying to connect we are getting the following error
    Secure sockets are not supported with this version of the classes.
    We have put the .so file and the cert file required for the integration in the server and set the Path and LD_LIBRARY_PATH to the .so file.
    Still we are not able to connect to the integration.
    Please help out
    Thanks and Regards,
    Aqeel
    Message was edited by:
    Aqeel

    This is not a Java message. Contact the vendor of whatever 3rd-party software you are using.

Maybe you are looking for

  • Install Windows 7 and delete Mavericks

    Hello I have an MacBook Air and would like to install and run Windows 7 (64 bit) in stead of Mavericks. The have been happy to run Mac OS X on my Mac but now there are more meaning in to run Windows because there are programs that we runs on my work

  • Can't get Mail to "Stop Speaking"

    Suddenly, earlier this evening, while composing an email message, Apple Mail started talking. Every few words it says "capitalization." That's the only word it speaks. I tried the Edit Menu>Speech>Stop Talking to no avail. Now it just did it here-whi

  • Range wise output

    I have one table as test ot_shop_transmittal_test and the sample reords inserted as below, i want a output in range like below STMH_NO     STMH_BATCH_NO     STMH_PM_CODE     STMH_PM_DESC     STMH_REV_NO      PR-1107-0001     0001     1107040-1001 - 1

  • Regarding reading a jar/war file

    Hi, I have to read a war file. below is the code... String Name; Name="D://work//webapp//meta-inf//MANIFEST.MF"; InputStream is= null; JarInputStream jis = null; is = Class1.class.getClassLoader().getResourceAsStream(Name); if (getClass().getClassLoa

  • Run 10g report (RDF) as a portlet ???

    i have a report RDF on 10g developer i want to publish it in portal as a portlet, how can i make it? thanx a lot in advance