Using WL SSL for TCP connections

I'm trying to write a FTP client in order to connect to a server using SSL.
Does anyone used WL security classes to connect to an FTP server using SSL.
Any help is appreciated

Hi Alejandro,
Check out SSLClient.java which is included in WLS 6.1 (GA), and is contained in
WebLogic 5.1.0 SP10, and also WebLogic 6.0 SP2
SSLClient.java has example code for how to create outgoing SSL connections
using either a 3rd party SSL implementation (such as JSSE) or WebLogic's own
security classes. Take your pick. Taking a look at SSLClient.java is probably
the best place for you to start.
Thanks,
Joe Jerry
"Alejandro Mejías" wrote:
I'm trying to write a FTP client in order to connect to a server using SSL.
Does anyone used WL security classes to connect to an FTP server using SSL.
Any help is appreciated

Similar Messages

  • Shall I use one datasource for multiple connection pool?

    Hi,
    I need to clarrify that, Shall I use one Datasource for multiple connection pool in distributed transaction?
    Thanks with regards
    Suresh

    No. If its transactions across multiple databases you should use different datasources.

  • How used single ssl for tow exchange server without clustering

    how used single ssl for tow exchange server without clustering
    exchange 2003 std fron-end server
    used for add new server for owa failover or standby 

    Olivia, hopefully by now you have solved your issue but just for the sake of answering that question here so that people having the same issue can later find it I'll go through the motions:
    there are a couple of ways you can achieve this.
    A. get a certificate for free out there
    B. generate your own self signed "fake" certificate.
    certutil will certainly let you do this, here's how:
    1. First, create a file/directory layout to store your certificates
    mkdir -p /path/to/certificates/selfsignedCA2. Initialize a database for the certificate you want to create
    certutil -N -d /path/to/certificates/selfsignedCA -P "ca-"3. Create a self-signed CA certificate
    certutil -S -x -n "ca-cert" -s "cn=SelfSigned CA Certificate,dc=yourSuffix" -t CTPu -v 120 -d /path/to/certificates/selfsignedCA -P "ca-" -5Note: when prompted, select choice (5) SSL CA and 'y' for critical extensions
    4. Export the your newly created self-signed CA certificate in PEM format
    certutil -L -d /path/to/certificates/selfsignedCA -P "ca-" -n "ca-cert" -a > /path/to/certificates/selfsignedCA.pemthat should get you going
    -=arnaud=-

  • Using Oracle Wallet for Java connection

    Hi,
    Can anyone tell me how to acces the Oracle wallet from my Java application without using the thin or oci drivers?

    No answer was found for this, we ended up using an OCI driver for the connection to the wallet. Code (in java) was as follows for reference:#
    private static Connection walletconn() throws Exception{
    String url = "jdbc:oracle:oci:/@DATABASE";
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(url);
    Connection conn = ods.getConnection();
    return connl;

  • MAIL USING PL/SQL PROCEDURE TCP CONNECTION ERROR

    I was trying to send an e-mail using the demo-mail helper package which uses UTL_SMTP package and on execution, it gives the following TCP Connection error. Is it some something to do with mail configuration?
    This is the sample code I was trying to run.
    demo_mail.mail( sender => 'Me <[email protected]>',
    recipients => 'Someone <[email protected]>, ' ||
    '"Another one" <[email protected]>',
    subject => 'Test', message => 'Hi! This is a test.');
    And this is the error I am getting.
    class oracle/plsql/net/TCPConnection does not exist
    at "SYS.UTL_TCP", line 537
    at "SYS.UTL_TCP", line 199
    at "SYS.UTL_SMTP", line 102
    at "SYS.UTL_SMTP", line 121
    at "VNARAYA.DEMO_MAIL", line 159
    at "VNARAYA.DEMO_MAIL", line 119
    at "VNARAYA.DEMO_MAIL", line 105
    at "VNARAYA.SEND_MAIL", line 2
    at line 1

    The Java library needed by UTL_TCP is not created properly. You may just run $ORACLE_HOME/rdbms/admin/initplsj.sql as SYS to install it:
    cd $ORACLE_HOME/rdbms/admin
    sqlplus sys/<sys-password> @initplsj.sql

  • Sample JAVA code using Resource Adapter for RFC Connections

    Hi Java Knowledgeable Ones.
    I have successfully deployed the SAP Netweaver J2ee Engine "Resource Adapter for RFC Connections to ABAP Systems" to my Web Application Server.  Now I need to develop a JAVA application that would utilize this deployed resource adapter.  The resource adapter specifies the SAPClient, UserName, and password.  I am thinking that the JAVA code to invoke this connection would therefore not need to provide this information as it should be available in the resource adapter.
    Do you have sample code that you could send to me showing how to do this?
    Thanks,
    Kevin

    Hi Kevin,
    this is actually no good style! You should not open the connection with the adaptor knowing the password. Usually it should work via a connection that uses only basic rights  and the user has already authenticated and is using his security ticket.
    For security handling see:
    http://help.sap.com/saphelp_nw04/helpdata/en/61/f8bc3d52f39d33e10000000a11405a/frameset.htm
    Regards,
    Benny

  • Should we use same datasource for Internal connection and Save Point ?

    Hi,
    AM configuration has an internal db connection setting, adf-config.xml also has an db connection setting for Save Point, should we all set to the same database source of the system or should we create a seperate datasource which is used only for AM internal db connection and Save Point?
    jdev: 11.1.2.1
    Many thanks!

    Hi,
    its all up to you and whether you have security concerns if the save point is saved with the business data.
    Frank

  • Error using uix wizard for bc4j connection

    I have been trying for days to get a connection to the database using uix and bc4j. When I use the wizard to create one I get this error:
    Servlet error: Renderer failed: oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (rola2.Rola2Module.Rola2ModuleLocal) failed to checkout an application module due to the following exception:
    this is all it says.. nothing else..
    how can I get it to work? what module is having the problem?
    the bc4j seems to look correct, I see the views it created.
    send me an email if you read this and know what the error means. I don' seem to be able to find my posts after a day or too.
    [email protected]

    Are you working with UIX XML or UIX JSP?

  • Can I use foreign account for iTunes connect?

    i wanna be a contents provider in iBookstore.
    Can I use a foreign apple account(not US) for iTunes online application?
    thanks ~

    Yes you can, no problem.
    Michi.

  • I want to acheive digitally triggered data acquisition and using AIO lines for triggering connecting to PFI lines but no response.

    How to acheive digital data acquisitions using AO signals as trigger signal.

    Greetings,
    I am not sure that I have a clear understanding of your question. It appears that you want to perform a triggered acquisition. You mentioned both analog input (AI) and analog output (AO). Which type of operation are you performing? Are you using digital or analog triggering? Also, it would be helpful if you could mention what hardware and software you are using.
    Spencer S.

  • Trouble using our iPad2 for internet connection in Phuket

    We purchased an iPad 2 in Perth prior to coming to Phuket and also a 1month Pre paid sim from the Telstra shop.... Was assured it would do International raoaming and we would be able to get 3g network here...
    The Apple consultant assisted us in setting up the iPad to receive our emails.... worked perfectly in Perth, but have arrived here and cannot get anything working....
    Tried to connect to any Internet and it cannot locate server.
    Any advise would be most welcome
    Ray

    Can anyone give me some advise.... I notice I have had 23 views but no reply....
    Thanks

  • How to use SquirrelMail and Require SSL for IMAP Service?

    Hello,
    Mac OS X Server v.10.4.9 – Open Directory Master
    Providing POP, IMAP, SMTP, web services including webmail via SquirrelMail.
    PHP v.4.4.4 Nov. 1, 2006
    OpenSSL v.0.9.7l Sept. 2006
    I need to require SSL for IMAP access, however, I also need to provide webmail access. SquirrelMail does support TSL it seems and that can be configured from /etc/squirrelmail/config/conf.pl and is discussed briefly here: http://www.squirrelmail.org/wiki/SquirrelMailIMAPS .
    When I turn on TSL on SquirrelMail and change the IMAP port number to 993 attempting to log into SquirrelMail provides the following error:
    Bad request: IMAP server does not appear to support the authentication method selected. Please contact your system administrator.
    According to the above noted page from the SquirrelMail site one needs PHP 4.3 and SSLv3 in order for TSL to work, one must also connect to the IMAP server over port 993. Requirements I appear to meet.
    So – how can one require the use of SSL for IMAP and still provide webmail access via SquirrelMail?
    I have reviewed these three threads:
    http://discussions.apple.com/thread.jspa?threadID=912841&tstart=75
    http://discussions.apple.com/thread.jspa?messageID=1457773&#1457773
    http://discussions.apple.com/thread.jspa?messageID=3921004&#3921004
    However they do not answer the fundamental question of how to use SquirrelMail with SSL required by IMAP. Essentially the conversation revolves around working around the SSL requirement or forgoing it.
    Thank you for any assistance.

    David,
    Yet from time to time these same users are in a
    circumstance where they need to use webmail, thus
    SquirrelMail needs to work. I am not trying to
    secure webmail by requiring SSL.
    I see, your problem. In this particular case there is a workaround.
    Use different ports for postfix and cyrus limited to localhost, thus catering only to SquirrelMail, thus not needing TLS.
    Roughly do this (this is just off the top of my head, may contain errors):
    For SMTP / Postfix:
    Edit /etc/postfix/master.cf
    and add:
    465 inet n - n - - smtpd
    -o smtpdrecipientrestrictions= permit_mynetworks,reject
    -o mynetworks=127.0.0.1/32
    -o smtpdenforcetls=no
    # This will create a port 465 (if you use this alreay pick another one. choose the number wisely, depending ony what is in use on your server)
    # This port is only accessible to IP number in "mynetworks"
    For IMAP / Cyrus
    Edit /etc/cyrus.conf and add (below imap):
    imaplocal cmd="imapd -C /etc/imapd-local.conf" listen="127.0.0.1:imap" prefork=0
    Next duplicate /etc/imapd.conf and name it imapd-local.conf
    Edit /etc/imapd-local.conf
    Change
    tlsserveroptions: require
    to
    tlsserveroptions: use
    Next edit:
    /etc/services
    and create a port called "imaplocal"
    (you could probably recycle 585 wich is deprecated, check what is in the services file, make sure no duplicate port numbers).
    should look something like:
    imaplocal 585/udp
    imaplocal 585/tcp
    When done with all config files:
    Save & restart mail services
    Point SquirrelMail to the new ports wich should only be accessible to localhost (check with an external client if it holds
    Sorry for the "draft style" post, but I don't have much time.
    Just ask, if anything isn't clear.
    HTH,
    Alex

  • Require SSL for IMAP (and possibly, SMTP)

    Hello,
    I'm having quite a bit of trouble changing the server configuration to require SSL for IMAP connections on the server side.  (Ideally, I'd like to require SMTP to send email as well, but not require for outbound connections from other hosts as it may stop message delivery.)
    If anyone has had luck doing this on OS X Mountain Lion / Server.app it would be great if you could share your steps?
    Thx.

    It would be helpful is you could explain what your experience is, since there are many possibilities and knowing what you're encountering would help.
    The most obvious/common issue is that IMAPS (IMAP+SSL) uses port 993, not the normal IMAP 143.
    If your clients are configured to only use 143 then they will break until they're reconfigured to use 993.
    Since you don't mention whether you've checked port numbering, it's impossible to tell if that's your issue or not.
    As for SMTP, if your mail server accepts mail from any external hosts then you do NOT want to require SSL. Few, if any, remote mail servers support SSL for SMTP, so you'll just block any external servers from sending mail to your domain. I doubt your users want that.

  • How can we close the TCP connection in Extend Clients (C#)

    I tried to use a C# client to connect to server side Coherence Nodes. The problem is that, Coherence creates two new TCP connections every time I create a new cache, and it never closes the connection. In the end, Coherence keeps opening hundreds connection for me, and I faced the Out Of Memory Exception.
    I used Coherence Extend for the connection, and use Thread.CurrentPrincipal. I did the same thing in Java, and it works. I don't know why it doesn't work for C#.
    For now, is there any way provided by Coherence to close the open TCP connection?

    The issue was the AZURE_STORAGE_CONNECTION_STRING was set improperly. I was originally using the value from the 'sig' querystring value, instead of the entire signature querystring.
    SET AZURE_STORAGE_CONNECTION_STRING=BlobEndpoint=https://viperprodstorage1.blob.core.windows.net/;SharedAccessSignature=<signature>
    Should have been...
    SET AZURE_STORAGE_CONNECTION_STRING=BlobEndpoint=https://viperprodstorage1.blob.core.windows.net/;SharedAccessSignature=sr=c&si=foobar-prod-policy&sig=<signature>
    After that was set, I was able to upload.
    I don't know if this mattered much, but I also changed the format of the call to...
    azure storage blob upload -f "file.gz" --container "foobar-prod" -b "file.gz" --verbose

  • COBRAS Import for Unity Connection 8.5 and Subscriber LDAP Integration Status

    Using COBRAS Import for Unity Connection 1.1 Build 212 with Unity 4.2 Voicemail Only and Connection 8.5(1)SU1 with LDAP Directory Integration
    When I run COBRAS the old alias matches the new alias and my desire is for subscribers being moved to be LDAP inegrated.  However after COBRAS runs, the radio box for LDAP Integration Status on the subscriber is set to Do Not Integrate with LDAP Directory. Is there a way for COBRAS to select Integrate with LDAP Directory when the alias matches on LDAP?

    Hi ben,
    If you are just importing from and not authenticating against LDAP, then the PIN comes
    from the Connection Template you used to build the users;
    Note that no passwords or PINs are copied from the LDAP directory to the Connection database. If
    you want Connection users to authenticate against the LDAP directory, see the “LDAP
    Authentication” section on page 9-7.
    http://www.cisco.com/en/US/docs/voice_ip_comm/connection/8x/design/guide/8xcucdg040.html
    Cheers!
    Rob
    "Show a little faith, there's magic in the night" - Springsteen

Maybe you are looking for

  • In BC how do you display fields between 2 web apps

    I have successfully connected two web apps by creating a 1 to 1 relationship between my two web apps Article and Author. So, when a user is on the details page of my Article, they see the Authors info. But, now, I need to do the reverse..create a pag

  • Query works on Oracle 9i, but fails on Oracle 10g - puzzling...

    In porting an application from Oracle 9i to Oracle 10g, I hit a problem that for a while I assumed was some bug of mine. But I eventually isolated the problem and can reproduce this using a single sql script and then a single delete. The amazing thin

  • Aironet 350 Bandwidth throughput

    Hi I have a Aironet 350 point to point wireless bridge. It will operate at 10Mb/s half duplex. What is the maximum data throuput that I can achieve I have been quoted a figure of 3.4Mb/s? Is there any general documentation that can help me?

  • Adding columns in responsive views

    how to add columns to just tablet or laptop view in responsive layout

  • Dynamic table linking to text file

    Access 2013.accdb A large quantity of text files will be arriving to the user.  They will all have the same fixed width format, but their file names will vary, and their stored location. The data needs to be appended into Table1 I am thinking this ap