SSL Server socket: controlling the alias for the server certificate ?

Hi,
Could anyone please clear up the following ?
When you create an SSL server socket, it needs a certificate (to prove its identity), and for this it relies on a keystore:
System.setProperty("javax.net.ssl.keyStore", "c:/mystore");
My question is, what if the keystore contains several certificates ?
Eg:
keytool -import -alias AAA -file cert1.cer -keystore mystore
keytool -import -alias BBB -file cert2.cer -keystore mystore
Which certificate would the server use ?
And is there a way to control the alias it would use ?
Thanks :)

This is a very good question and one that should be described in the Guide to Features. See javax.net.ssl.X509KeyManager.chooseServerAlias(). It does a search looking for aliases of a given key type, i.e. one of the ones the peer understands, & which are trusted by the peer. Any alias which the peer can accept will do.

Similar Messages

  • Can't install the software for the Canon MX870 series because it is not currently available from the Software Update server.

    I'm trying to setup my Canon MX870 USB ink jet printer plugged into my Airport Extreme's USB port.  However, I keep getting a message of; "Can't install the software for the Canon MX870 series because it is not currently available from the Software Update server."  And then I have to click cancel.
    The "Print & Scan" from System Preferences, can see the printer as it has the NAME: Canon MX870 series,  and the LOCATION: 'the name of my network',  and USE: MX870 series.  But after clicking "Add", it tries to install the software (I've already installed the latest drivers however on my Mac Pro) and that's when I get this message;
    "Can't install the software for the Canon MX870 series because it is not currently available from the Software Update server."
    Any ideas, help would be greatly appreciated!
    Marty

    Hello Marty,
    It sounds like you are not able to add your Canon printer in System Preferences.  I found an article with steps you can take to resolve this:
    Resolution
    USB printers and Bonjour-enabled network printers
    Follow these steps until the issue is addressed:
    Make sure that the printer is powered on, has ink / toner, and that there are no alerts on the printer’s control panel. Note: If you cannot clear an alert on the printer's control panel, stop here and check the printer's documentation or contact the manufacturer for support.
    Ensure the printer is properly connected to a USB port on the Mac or AirPort base station / Time Capsule. If the printer is a network-capable printer, make sure that it is properly connected to your home network.
    Use Software Update to find and install the latest available updates. If an update is installed, see if the issue persists.
    Open the Print & Scan pane or Print & Fax (Snow Leopard) pane in System Preferences.
    Delete the affected printer, then add the printer again.
    If the issue persists, try these additional steps:
    Reset the printing system, then add the printer again.
    If the issue still persists, reset the printing system again.  Download and install your printer's drivers. Then, add the printer again.
    Contact the printer vendor or visit their website for further assistance.
    You can find the full article here:
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/ts3147
    Thank you for posting in the Apple Support Communities. 
    Best,
    Sheila M.

  • "cwui"Error loading control. A newer version needed. The defaultsettings for the control will be used.

    各位先進:小弟最近在執行一個執行檔(.exe)時,跳出了"cwui"的視窗,上面寫著"Error loading control. A newer version needed. The defaultsettings for the control will be used."執行檔沒辦法動作,不知道是哪個地方出問題了...煩請各位解答我的苦惱之處!!感激不盡~

    請看看您的錯誤是否跟下面這個一樣
    http://digital.ni.com/public.nsf/allkb/627F8B1A99A72DBC862578770051FB9B
    若不是的話煩請提供您
    1. 錯誤訊息截圖
    2. 作業系統版本(是否是64-bit)
    3. LabVIEW版本
    4. 佈署端電腦所安裝的Runtime Engine版本
    5. 程式中有使用到的module或toolkit,例如:DSC, OPC server....等
    謝謝!

  • Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Can't install the software for the Brother MFC-9440CN because it is not currently available from the Software Update server....how do I get the driver then..it ised to work in my old mac..but cant print to it in my new unit

    Download the Brother Mountain Lion drivers here.

  • HT201269 When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a serve

    When I try to setup my new iPad air, I go through all the steps for the iCloud sign-in and choosing security questions and what not. But after I hit the agree to the terms and conditions... It says Apple ID could not be created because of a server error. Have no clue what to do... I've restarted the iPad and get the same message. But my internet works just fine.

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • Cisco TCS "the overview for this server cannot be found"

    Hi,
    I have a problem on my TCS server, a message is displayed "The overview for this server can not be found"
    This error message appears when I last reinstalling the usb image provided by Cisco,
    Thank's
    Billel

    Hello Billel -
    I presume because you mention USB image, you're running a 3rd generation TCS appliance?
    Have you tried to repair the TCS application through Add/Remove Programs to see if that resolves the issue?  I've had that issue myself once on a 2nd Generation TCS appliance, I tried a repair and uninstall/reinstall of the TCS application, eventually managed to get it back up and running, though I don't recall my actual steps.
    Also just in case, because you did a reimage, did you back up the serial number, checksup, and release/option keys from the registry located in HKLM > SOFTWARE > Wow6432Node > TANDBERG > TCS.  If you're missing any of that, you can obtain release and options keys from Cisco License Portal, select "Get Other Licenses", then "TelePresence Licenses to Resend".  You can get the checksum by contact TAC.

  • TS3147 Can't install the software for the EPSON Epson Stylus Photo R2000 because it is not currently available from the Software Update server.

    Can't install the software for the EPSON Epson Stylus Photo R2000 because it is not currently available from the Software Update server???
    I am using mac osx 10.8 and now cant get print software for epson R2000 printer.

    After system update, my Epson Stylus SX 535WD was ''gone''. I tried in vain to add it as an IP printer (got the IP-address from the printer). The printer model is correctly recognized, software download starts -- but then  the "software ... is not currently available..."
    Resetting  the printing system did not help. Downloading Epson Printer Drivers v2.15.1 from  here
    did not help either, downloading Epson Printer Drivers.
    In the end, I re-installed the printer software from the original CDs. After that the printer showed up as a Bonjour Printer, and I could add it without problem.
    But note: although the printer is installed now and working properly, I still get the old error message (...software ..not available...) if I try to add the printer as an IP printer !?

  • HT204135 Can't install the software for the Brother HL-4070CDW series because it is not currently available from the Software Update server.

    I keep recieving this message for months since I upgraded to the Retina MacBook Pro, "Can't install the software for the Brother HL-4070CDW series because it is not currently available from the Software Update server."  I am unable to install my Brother HL-4070CDW Printer.  I have manually downloaded all the software directly from Brother as well as the Brother Printer Drivers from Apple, but still can not install

    That means you go here:
    http://support.apple.com/kb/DL907?viewlocale=en_US&locale=en_US
    to get the latest HP drivers.

  • When I try to install my Samsung printer i get the following - Can't install the software for the Samsung ML-2525W because it is not currently available from the Software Update server.

    I've downloaded samsung drivers from apple and still no luck. Whenever i try to install my samsung ml-2525w i get the following "Can't install the software for the Samsung ML-2525W because it is not currently available from the Software Update server." The printer is on the network and is on the list of available printers.

    For OS X 10.8 or later:
    OS X Mountain Lion: Reset the printing system
    For earlier versions of OS X:
    Mac OS X: How to reset the printing system

  • HT3669 What does this mean?  Can't install the software for the HP Photosmart A510 series because it is not currently available from the Software Update server."  My Imac finds the printer b ut when I go to install it, I get this error.  Please help.

    Can't install the software for the HP Photosmart A510 series because it is not currently available from the Software Update server.

    That means you go here:
    http://support.apple.com/kb/DL907?viewlocale=en_US&locale=en_US
    to get the latest HP drivers.

  • Can't install the software for the Samsung CLX-3180 Series because it is not currently available from the Software Update server.

    This is the the alert I keep getting when i try to add this new printer
    "Can't install the software for the Samsung CLX-3180 Series because it is not currently available from the Software Update server."
    Im am having BIG problems getting my printer to be recognized

    water bar wrote:
    I am getting the identical error message for an HP Officejet 7200 series printer.
    First there is a message that software is available from Apple.  You click to get it.  Then it tells you that it is not currently available from the software update server.
    I am running OS 10.8.2.  Printer is on my home network (not USB).
    I went to the Apple Software Dowload site and re-downloaded the latest "HewlettPackard Printer Drivers" (v.2.12) and installed them (twice).  No dice.
    Anybody found a way around this problem?
    I solved all print related issues by avoiding HP, worst software I ever saw, this may not work for you though.

  • Can't install the software for the Brother HL-2040 series because it is not currently available from the Software Update server.

    I suddenly can't use my printer!  It stopped working, so I followed apple's advice and deleted the printer, downloaded a new driver, now I get this message when I try to install it:
    Can't install the software for the Brother HL-2040 series because it is not currently available from the Software Update server.
    How do I get my printer working again??

    Where did you download the new driver from ?

  • "Can't install the software for the HP Officejet 6300 series because it is not currently available from the Software Update server" when I try to install a HP 6300 printer.

    Hi there
    I am trying to install a HP 6300 printer. I can see it when I look to install initially. Then click on installa nd the process starts and I get a message saying it is searching for the software. However after 20 seconds or so I get the message: Can't install the software for the HP Officejet 6300 series because it is not currently available from the Software Update server. This has happned over and over. I have updated the OSx and am 10.8.5. It works on my Mac Book Pro and did once work on the Mac Book Air but stopped so I unistalled and tried to reintsall but no joy. How can i gte the right drivers onto the laptop so that the seach finds them and connects the printer that it already sees?
    Many thanks
    Rob

    Hello there. I understand you are experiencing issues installing your printer on Mac 10.8.5. This document will provide multiple methods on performing this task: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03378792
    Please let me know if you have any other questions or concerns.
    I work on behalf of HP

  • What are the settings for the outgoing mail server for icloud on Outlook for Mac, what are the settings for the outgoing mail server for icloud on Outlook for Mac

    what are the settings for the outgoing mail server for icloud on Outlook for Mac, what are the settings for the outgoing mail server for icloud on Outlook for Mac

    iCloud Mail Settings

  • How to change the text for the tabs of a tabstrip control dynamically

    Hi Guys,
        I am having two screens in a transaction.
    1. 1st screen has material number as an input and submit push button
    2. 2nd screen has two tabs in a tabstrip control.
        I want to display material description and plant number as heading for the two tabs based on the material number entered by the user in the 1st screen. Means i want to change the text dynamically. Is there any possible way? If it is there please help me. Very urgent...
    Thanks in advance
    James.

    Hi,
    If you set the "Output field" attribute for a pushbutton/tab, you can also set its text dynamically in the ABAP program. To do this, you must create a field in the ABAP program with the same name as the pushbutton/tab. You must then assign the required text to the field before the screen is displayed.
    For example define a global field in your program called MATNUM(20) and use this as the name for the material number tab on the tabstrip. Then you can assign a text MATNUM = 'Material Number' and this will appear as the tab title. Don;t forget to set the "Output field" attribute on the tab.
    Hope it helps

Maybe you are looking for

  • Upon attempting to turn on Wifi error message displays "Unable to turn Wifi on"

    Hi, I have a Blackberry 8520, and am experiencing some issues with my Wife. I try to turn on the Wifi though the "Manage connections" menu and intead of getting a green tick as I used to when the Wifi was previously working I get a red cross on the r

  • Query to group values with date

    Dear all, I have a table tdate with 13 columns with one column named trandate with value like "11/07/2008 18:00:19" NOw I want to retrieve values from the table like select count(*) from trandate where where ttype = '081' and T_FILE like 'monT%'; I w

  • Can't find cell protection for formulas. Help!

    Would someone be so kind as to direct me to info on cell protection for formulas as found in xcel spreadsheets. What would Mac call it, seed/kernal protection or something? Thanks

  • Me taskbar icons are not responding. plz help

    my taskbars icons are not responding when i click on it...ie it doesnt opens not it responds.... alo like back button which is on upper panel is also not responding...is this any software error or hardware... plz help seriously.... i cant even call a

  • ( Urgent ) Date Formatting

    I want to know how to get a date value with Milliseconds by using Date Format or any. For Eg: I am having a LOG( Transactions) table wherein I have a date_create column of a DATE Datatype. I want to get( Display or retrieve) the value in Milliseconds