Problems unwrapping SPNEGO token for Single Signon (SSO) in WebLogic Server

First of all, a quick description of our issue. We’ve tried many different things, but cannot get WebLogic to unwrap the SPNEGO token so it authenticates using Kerberos. We received several errors while trying to debug, here’s the one we see most:
KDC has no support for encryption type (14)
But we doubt it has anything to do with the encryption type, as these are set correctly everywhere.
We’ve tried following some of the instructions on the BEA website (which contain several errors).
One of them was also adding a host/ SPN (in krb5login.conf) but then, when using HTTP/ SPN we get the following error (it seems with multiple SPN’s it only takes the first or last SPN that was set):
Client not found in Kerberos database (6)
Next try was using the host/ SPN but that results in the following error:
Integrity check on decrypted field failed (31)
We’ve tried changing the default_enctypes in KRB5.INI (We’ve removed the entries, and also tried only DESCBC_MD5 and DES_CBC_CRC) but that did not change the behaviour.
We’ve tried adding the AllowTGTSessionKey registry key on client and server, but that didn’t change it either.
We are not sure what details you need for this to debug, so here’s what we’ve done to install the environment (please note that ip-addresses, domain, client and server names are made up and are different in real-life),
We have two domains:
Domain1 (DOMAIN1.COM) contains:
Domain Controller      “AD1”      with IP 192.168.0.1
Domain Controller      “AD2”      with IP 192.168.1.1
Client           “Client1”      with IP 192.168.2.1
Domain2 (DOMAIN2.COM) contains:
Domain Controller      “AD3”      with IP 10.0.0.1
Server (WebLogic)     “Server1”      with IP 10.0.1.2
Between Domain1 and Domain2 a firewall exists in which we’ve opened the relevant ports like LDAP (TCP 389), Kerberos (UDP 88), WebLogic (7001/7002).We do not see any firewall blocks on other ports…
We’ve configured AD1 (Microsoft AD with KDC) as follows:
1. Account “SSOAccountAD” created
2. Password never expires
3. DES encryption on
4. Do not require Kerberos preauthentication off
5. Password “Password” was reset several times
6. ServicePrincipalName was set using this
    setspn -A HTTP/Server1.DOMAIN1.COM SSOAccountAD7. ServicePrincipalName on AD1 was checked (and found to be ok) using this command:
    setspn -L SSOAccountAD8. KTPass was executed:
ktpass -princ HTTP/[email protected] -mapuser SSOAccountAD -pass Password9. User Logon name was checked, it's set to "HTTP/Server1"
10. ServicePrincipalName on AD2 was checked (and found to be ok) using this command:
setspn -L SSOAccountADWe’ve configured the WebLogic Server (Server1) as follows:
1. LDAP authentication was activated and test ok
2. Single Pass Negotiate Identity Asserter was created with Chosen Type “Authorization”
3. KRB5.INI file was created and added to %windir% (and C:\WINNT folder to be able to test with Java ktab and kinit which do not look in the %windir% folder):
[libdefaults]
default_realm = DOMAIN1.COM
dns_lookup_realm = false
dns_lookup_kdc = false
default_tkt_enctypes=DES-CBC-CRC
default_tgs_enctypes=DES-CBC-CRC
[realms]
DOMAIN1.COM = {
kdc = 192.168.0.1
admin_server = 192.168.0.1
default_domain = DOMAIN1.COM
[domain_realm]
.domain1.com = DOMAIN1.COM
domain1.com = DOMAIN1.COM
[appdefaults]
autologin = true
forward = true
forwardable = true
encrypt = true4. We’ve installed JDK 1.5.0.12: jdk-1_5_0_12-windows-i586-p.exe
5. Keytab File was created (with password “Password”):
ktab -k SSOKeyTabFile -a HTTP/[email protected]. Keytab File and Kerberos communication was tested using:
kinit -k -t SSOKeyTabFile HTTP/[email protected]. Keytab File and Kerberos communication was tested using Java (incl. Debugging):
java -Dsun.security.krb5.debug=true sun.security.krb5.internal.tools.Kinit -k -t SSOKeyTabFile HTTP/[email protected]. Keytab was listed:
java -Dsun.security.krb5.debug=true sun.security.krb5.internal.tools.Klist9. SSOKeyTabFile was copied to the WebLogic ProductionDomain folder
10. The krb5login.conf file was created and copied to the WebLogic ProductionDomain folder:
com.sun.security.jgss.initiate {
     com.sun.security.auth.module.Krb5LoginModule required
     principal="HTTP/[email protected]" useKeyTab=true
     keyTab=SSOKeyTabFile storeKey=true debug=true;
com.sun.security.jgss.accept {
     com.sun.security.auth.module.Krb5LoginModule required
     principal=" HTTP/[email protected] " useKeyTab=true
     keyTab=SSOKeyTabFile storeKey=true debug=true;
};11. WebLogic service and startWeblogic.cmd were modified with the following parameters:
-Djava.security.krb5.realm=DOMAIN1.COM
-Djava.security.krb5.kdc=192.168.0.1
-Djava.security.auth.login.config=<ProductionFolder>\krb5login.conf
-Djavax.security.auth.useSubjectCredsOnly=false
-Dweblogic.security.enableNegotiate=true
-DDebugSecurityAdjudicator=true
-Dweblogic.debug.DebugSecurityAtn=true
-Dweblogic.debug.DebugSecurityAtz=true
-Dweblogic.Debug.DebugSecurityATN=true
-Dweblogic.StdoutSeverityLevel=64
-Dweblogic.StdoutDebugEnabled=true
For the client pc (Client1) we’ve checked the browser settings:
     Automatic Logon only in Intranet Zone
     Enable Integrated Windows Authentication
On the client we’ve used “kerbtray.exe” to see whether a kerberos token is created, and it is (although with the full domain name, HTTP/Server1.domain1.com).
We’ve checked for Kerberos communication with Wireshark and see that the client does communicate, and passes the SPNEGO token to the WebLogic server, but we do not see any Kerberos communication on the WebLogic server. The server simply requests Authorisation again…
If required we have the full wireshark traces of the WebLogic Server and the Client. We also have very detailed WebLogic tracing which I can provide.
Any thoughts?
Kind Regards,
Nika.

It turned out to be solved by removing the SSOAccount in AD and recreating it (including re-setting the password, which had already been done several times).
Regards,
Nika.

Similar Messages

  • Enabling SSO with Weblogic Server

    Hi,
    Can someone please forward some documention on enabling SSO with Weblogic server for different applications using the admin console.
    Is enabling SSO only possible programmatically??
    Is there an external server amongst the Weblogic Platform that maintains this SSO information??
    Regards,
    Mukta

    Pradeep,
    Here are some questions for you.
    1. what version of Weblogic App Server you are using?
    2. Is it a weblogic Portal or a Java application deployed
       on a Weblogic App Server?
    3. You have mentioned that the users are stored in a table. Is it a database table ?
    Anyway see the following link as a starting point?
    http://e-docs.bea.com/wls/docs81/jconnector/security.html#1216783
    If the customer has lot of other web applications that they want to integrate you can look at third party authentication solutions (Ex: Siteminder). But if it is a few or limited applications then custom solution would be more appropriate from the cost perspective.
    Hope this can be a starting point.
    -Regards
    -Venkat Malempati

  • Problem to deploy to a WebService interface for ADF Business Components to Weblogic Server

    Hi,
      I'm trying to deploy a custom application ,in which i have exposed ADF Business Components through a WebService interface, to a standalone weblogic server.
    Application Module is configured with a Service Interface for ordinary ViewObjects.
    Now I want to create a EAR file of this application to deploy it on the weblogic server.
    But I got an error while deploying it.The error i am getting is shown below.
    ERROR: No Java EE modules detected in EAR archive. Deployment aborted. == (oracle.jdevimpl.deploy.ear.WeblogicAssembler)
    I have followed the steps mention in the below link :
    http://technology.amis.nl/2010/12/29/quickly-creating-reploying-and-testing-a-webservice-interface-for-adf-business-components/
    I'm using Jdeveloper 11.1.2.4 on windows.
    Please suggest what i could be doing wrong.
    Regards,
    Himanshu

    Does the deployment profile include Java EE modules?
    Refer
    Java EE Developer: ERROR: No j2ee modules detected in EAR archive. Deployment aborted. == (oracle.jdeveloper.deploy.Veto…

  • License for implementation of Kerberos in Weblogic server

    Hi All,
    We have to implement Kerberos in our ADF application in oracle 11g release. I want to know if there is any additional licensing requirement to use Kerberos with Weblogic server?
    Thanks
    Tinto Chacko

    Hello Tinto,
    We configured Kerberos SSO for one of the client site, don't re collect that we had to do anything with licensing. It's always better to check with the Licensing teams/sales teams from oracle for this kind of questions. As the licensing terms varies.
    Thanks,
    Rajiv.

  • How to add support for new JDBC Drivers in WebLogic Server?

    Hi!
    I am using WebLogic Server 10.
    As we know,WebLogic Server contains some jdbc drivers itself,but if we want to use another drivers besides them,what can we do?(I am using Oracle 11g,but WebLogic Server 10 doesn't contain JDBC support for it.)
    Just copy the .jar files of the drivers to the directoty "WL_HOME/server/lib" or need to configure something else?
    Thanks!
    Huang

    Hi!
    I am using WebLogic Server 10.
    As we know,WebLogic Server contains some jdbc drivers itself,but if we want to use another drivers besides them,what can we do?(I am using Oracle 11g,but WebLogic Server 10 doesn't contain JDBC support for it.)
    Just copy the .jar files of the drivers to the directoty "WL_HOME/server/lib" or need to configure something else?
    Thanks!
    Huang

  • Security tools for audit and penetration testing weblogic server 10.3.5.0 and other

    hi all
    is it possible please introduce me the best softwares for auditing and penetration testing on weblogic server 10.3.5 (scan the machine for finding vulnerabilities and unsecured configuration in web logic server)
    thanks for your attention
    good luck

    This is a good one
    IBM developerWorks : Download : IBM Security AppScan V8.8

  • How can i set a path for my deployment files in weblogic server 10.3

    Hi
    How can i set the path for my WAR ,JAR files while deploying.i am using the wls10.3 version.
    is there any scripts for this ,please provide me.
    my Application is ADF 11g application.

    By "path", I assume you mean "classpath".
    The simplest way is simply to include the jars you need inside the web application or web module's WEB-INF/lib directory, EJB module's META-INF/lib directory, or EAR lib directory.
    If that's not practical, if you use NodeManager to start your servers, you can go to the "Server Start" tab in the server definition in the WebLogic console and edit the "Classpath" field, which defaults to no value. You can specify a classpath value there. Note that if you specify a value there, it REPLACES the default classpath for the server, it doesn't add to it. If you need to just add to it (a much more likely scenario), if the value references the value "$CLASSPATH" in it, that will reference the original classpath value that the server would have had.
    So, for instance, if you wanted to include the MQ jars in the server classpath, you could set a value like this:
    /usr/java/mq/lib/mq.jar:/usr/java/mq/lib/mqstuff.jar:$CLASSPATH

  • SP2 Installation Problem on Weblogic Server 6.1SP1

    hi,
    i encountered a problem installing sp2 to my second server.
    (Windows 2000 Advance Server with SP2, dual Xeon CPU, 3GB, 200GB.
    Weblogic Server 6.1 with SP1 installed at d:\bea) x 2
    installation file itself is valid. as installation at server 1 was successful. however,
    when installing at server 2:
    1) by double clicking on the exe - blank GUI popup appeared on screen without any
    usual text (first screen that reads: welcome - the installer will guide you....).
    all three buttons were there. click on the next buttons all the way would give a
    title 'installation complete' without any delay. sp2 was not installed.
    2) by running exe from console - GUI popup appeared normally. however, when prompted
    to select bea home, selecting the default folder at d:\bea and when clicking on next
    button, a popup would appear claiming that weblogic server home is not found at d:\bea.
    and process discontinued.
    the beahomelist is found at c:\bea, with content reading correctly as d:\bea;c:\bea;
    Previous SP1 installation on server 2 about 2 months back was successful.
    would appreciate for ur input. thanks a lot in advance.
    rgds, keigo

    I've exactly the same problem and will attempt to reinstall WebLogic 6.1
    with SP3 built-in ...
    "keigo" <[email protected]> wrote in message
    news:[email protected]..
    >
    update on the progress, spoke to a BEA staff from regional office and I aminformed
    that this problem was never encountered and am advised to perform freshre-installation
    with wlserver6.1 with sp2 built in.
    "keigo" <[email protected]> wrote:
    Hi Laurent,
    Thank you very much for ur reply.
    My Weblogic Server is installed in D:\bea. Just like the Server 1
    configuration.
    And I m choosing to install SP2 into this existing home.
    I am kind of worried by this as it is nearing production and I am running
    into this
    weird problem here.
    Thanks again.
    Rgds, keigo
    Laurent Goldsztejn <[email protected]> wrote:
    Hello Keigo,
    It seems that the problem comes when your server is installed in the
    directory where the beahomelist file is located. Am I correct when I
    assume that the installation fails when you install the service pack 2
    over the server installed in c:\bea?
    Thank you,
    Laurent Goldsztejn
    Developer Relations Engineer
    BEA Support

  • WebLogic Server - Problem encoding file MS Word in jsp

    Hi, i'm new in this forum...sorry for my english but i don't speak it very well...
    I have a problem with encoding of a MS Word file (with WebLogic Server 8.1.4).....I have this file stored in a DB Oracle like a BLOB...then I extract this file and I obtain the bytes of this file....than i write this byte in my ServletOutputStream so that i can see this word document from my jsp page in word format....until now everithing is ok...MS Word is open....but in the file the character are not encoded....are like this
    "ÐÏ à¡± á ÿÿÿÿÿÿÿÿÿÿ "....... why i can't see it correctly???
    What I don't understand is thas:
    1)in the same page with a pdf (even this extract as byte from oracle column BLOB) works fine
    2)with the same web application deployed on a tomcat server everithings work fine (with doc,xls....)
    3)I think that every settings is ok....
    in the jsp file
    response.setContentType("application/msword");
    response.setHeader("Content-Disposition", "attachment; filename=test.doc");
    in web.xml
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    in weblogic.xml (I have read this in a forum)
    <jsp-descriptor>
    <jsp-param>
    <param-name>encoding</param-name>
    <param-value>UTF-8</param-value>
    </jsp-param>
    <jsp-param>
    <param-name>compilerSupportsEncoding</param-name>
    <param-value>false</param-value>
    </jsp-param>
    </jsp-descriptor>
    The file that i obtain is not encode but is corret....infact if i make a compare (with a program "Beyond Compare" that meka a compare with the character not encoded like "ÐÏ à¡± á ÿÿÿÿÿÿÿÿÿÿ ") between the file that I obtain and the original file....everithing is equal...so the file is ok....but i can't open this correctly and visualize it correctly in word format!
    Please help me.....thanks so much

    i was able to solve it by clearing the output stream (jsp page - out.clear() ) before using it, even resetting the jsp response does the trick..
    thanks,
    prakash.m
    Edited by message2prakash at 02/08/2008 10:35 AM
    Edited by message2prakash at 02/08/2008 10:36 AM

  • Windows SSO on Weblogic domain

    I am trying to use windows SSO on my weblogic domain. Application deployed in this weblogic should be accessible by the users in a special group (Defined in Windows Active Directory). Users should not get the prompt for username and password. Weblogic server should authenticate against Windows Active Directory.
    I followed these instructions:
    http://download.oracle.com/docs/cd/E14571_01/web.1111/e13707/sso.htm#i1106670
    I am getting this error:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.
    My weblogic server is running on Linux and I am trying to connect with Windows Active Directory Server.
    Thanks

    Do I have to create a new Active Directory user like "wlskerberos" for each machine on my domain?
    yes, and u register the spn with that user
    For the other question, refer to this link
    http://weblogic-wonders.com/weblogic/2010/03/05/kerberos-in-a-proxyload-balancer-weblogic-cluster/
    Hope this answers!

  • Problem in starting my weblogic server to get my obiee working

    Hello All,
    Please help me
    1. I have oracle 11g installed as sysdba
    2. I have OBIEE 11g Installed
    3.i could login to my database through sqlplus with userid sys as sysdba/password .my data base status is active
    Now problem is :
    1. i am unable to start my weblogic server (it is saying force shutting down)
    2. i am unable to get my OBIEE login home page with the given url
    3. how to get my admin server up and running
    Thanks in advance
    Aparna

    Hi,
    You need to edit boot.properties file in above locations.Use username and password which you used while installing.
    (OBIEE Installation Drive)\user_projects\domains\bifoundation_domain\servers\AdminServer\security
    and
    (OBIEE Installation Drive)\Bi\user_projects\domains\bifoundation_domain\servers\bi_server1\security
    and let me know if you still facing the same issue.
    Hope it Help's You.
    Thanks,
    Nagaraju
    Edited by: 991370 on Mar 4, 2013 5:14 AM

  • Problem installing weblogic server 7.0 in Mandrake Linux 10.1

    hi
    i am very new to Mandrake Linux ..i have installed Mandrake Linux 10.1 in my machine ...the problem is that when i try i to install weblogic server 7.0 it gives some error
    ** Error during execution, error code = 11
    my machine spec
    * 512MB RAM
    * 40GB HDD
    * P4 2.8GHZ
    can any one help me..
    the weblogic server i downloaded from bea site its version is weblogic server 7.0 with jrockit (sp6)
    regards
    babu

    Hi,
    first of all, unfortunately, WebLogic Server is not supported under Mandrivia (use the right name ;-) ), so you should use Novell Suse or Redhat AS, check this list
    Anyway, error code 11 should be related to permission issues, so you should check that the user you are using is allowed to write under the installation directory and under /var/log/
    Could you kindly post the log messages?
    Regards.
    Antenore Gatta
    Middleware Specialist
    Hequa S.r.l
    C.so Buenos Aires 77
    20124 Milano
    http://www.Hequa.it
    Tel +39(0)267493078
    Fax +39(0)267493079
    Mobile +39 3481537897
    ______________________________________

  • How to increase the time for threadstuck jdeveloper weblogic server

    Hi,
    This is a requirement for increasing the time for threastuck detection in jdeveloper weblogic server.
    Few of my threads take a longer time than the default value for threastuck detection.
    Could you please share the suggestions on how to do it?
    i have tried by creating workmanager from the administration console but not aware of how to apply it to application(in web.xml).
    Share inputs on this.
    Thanks,
    Devender

    You are posting this on the wrong forum. All this in one of the server forums.
    Timo

  • Need Sample Request for Proposal(RFP) for Weblogic Server

    Hi,
    I need Request for Proposal (RFP) document of Weblogic server 11g preferably. please guide.
    Regards,
    Noman

    I encourage you to contact your local account team. Depending on your location, you should be able to find out that is by using the support sales number.
    http://www.oracle.com/us/corporate/contact/index.htm

  • Which will be the more demanding product for future? Coherence or Weblogic

    Which will be the more demanding product for future?
    Coherence or Weblogic Server?
    If Coherence , Why?
    If Weblogic Server, Why?
    How will be demand for Coherence after 5 or 6 years?

    This isn't a question that I've heard before ;-)
    Today, a very good portion of the WebLogic customers are also buying Coherence with WebLogic, often as part of the product called "WebLogic Suite". Also, many large WebLogic customers have been using Coherence since long before Oracle acquired either BEA WebLogic or Tangosol Coherence.
    When it comes to building high-scale Java EE applications, Oracle Coherence is an invaluable tool, so as long as there are Java and Java EE applications, and as long as high scalability, high availability and high performance are important, there is demand for Coherence, and that demand has grown year after year.
    WebLogic is a much larger and more mature product, with many more customers. WebLogic continues to grow at Oracle, even though it is considered a mature product.
    So I guess you could say there is good demand for both :)
    Peace,
    Cameron Purdy | Oracle Coherence
    http://coherence.oracle.com/

Maybe you are looking for

  • I can't turn off session restore.

    No matter what setting i have set in the Options window, when i exit and then start a new session in FF the previous one always pops up regardless of the setting. All i want is my homepage to pop up like normal. Its done this for about 2 weeks or so.

  • What is in the Audition 3.0.1 bugfix?

    Changes in Adobe Audition 3.0.1: • Spectral tools no longer crash machines with more than four CPU  cores. • The Graphic Phase Shifter effect has been re-enabled. • Performance while recording MIDI data has been improved.  • The Sequencer will now re

  • Contracts on Limit Items SRM 7

    Hi, We running SRM 7 with extended classic scenario and with ECC EHP 4. I have received info from SAP that you can´t use contracts on limit items when using extended classic scenario, is there any workaround for using contracts on limit item? BR Jona

  • Exchange 2013 backup and log truncation question

    I have a scenario where I have 5 Exchange mailbox servers as members of a DAG, everything running fine, log truncation is working, but seems to be working differently than I am expecting it to work, as in previous versions of Exchange. I am used to t

  • How to open a Pagemaker 6.0 file now?

    I have to open a file made in Pagemaker 6.0 long ago. I tried to install Page maker 7.0 (the only available version of Page maker these days), but it doesn't work - when starting the program a missing plugin stops starting and the program shuts down.