Invalid key manual?

I now get this error on my adapter, I am trying to install.

Here's what I copied.

Error description: Invalid key manual
Model name: AE3000
Operating system: Windows 7 SP 1
Software version: 1.0.0.3


The password I had my connection is correct. I checked it about 3 times, and he goes on to say that it is a mistake?

Help? Does this mean that I have to reset my router?

skmreids wrote:

I don't think I entered it wrong, I would say that I have installed in my computer auto adapater, and I try to get the best connection with her. Y at - it a kind of conflict?

Also, I checked the password several times. And I even checked in my settings, showed the characters, copied and pasted and put it in. Yet, nothing.

The GT704WB model.

What is the error message when you try to connect?

Tags: Linksys Adapters

Similar Questions

  • I have windows XP media center edition version 2002 microsoft and try to reinstall office XP Professional with Publisher Version 2002, following a fall, but am rejected as an invalid key.

    I have windows XP media center edition version 2002 microsoft and try to reinstall office XP Professional with Publisher Version 2002, following a fall, but am rejected as an invalid key. I checked the key with the customer service - they say that it is valid and has sent me to you! Help please!

    Activation and registration of a Microsoft product
    http://support.Microsoft.com/?kbid=326851

    J W Stuart: http://www.pagestart.com

  • I get 'Invalid key' when you install Windows XP SP3 Home Edition from a CD at retail and used the OEM key

    I restore an HP Pavilion computer and try to install Windows XP Home Edition, with the button on the side of the computer.  I contacted HP and they no longer have an available for this computer recovery CD.  So, I tried to install a copy of Windows XP Edition retail family, but when I enter the OEM product key I get "invalid key".  I read on this forum that you can not mix the OEM disc/keys with detail, but it seems that I don't have to buy another copy of Windows when it came with my computer.  What choices do I have?

    None!

    So I don't Support HP and Microsoft no help either.  Activation Center asked me to call the Department of parts (which is incorrect) and the parts Department told me that they cannot provide Windows which was distributed by HP!  Microsoft changed this start with Vista, so I do not understand why they are always telling customers that.

    Reference:

    http://social.answers.Microsoft.com/forums/en-us/XPInstall/thread/7ee88ddc-4560-4C1B-9987-ee340b902b05/

    http://social.answers.Microsoft.com/forums/en-US/VistaInstall/thread/5d9a3e4f-9948-4cda-8083-8116407a8c3d/.

  • invalid key when installing itunes

    HP Pavilion touchscreen windows 8.1

    When you try to install the new version of itunes my phone says 'invalid keys for use in specified State "? How can I change the status? Help, please!

    Hello

    You need to uninstall an update of windows for this error to go away, that the number of update is (KB2918614)

    How to info

    http://Windows.mercenie.com/Windows-8/How-to-install-and-uninstall-updates-in-Windows-8/

  • Unable to connect to the VMware web service: invalid key file

    Hello

    We have a CPO 2.3.1 who refuses to connect to vCenter (see newspaper excerpt at the end of the post).

    Recently, we changed our server vCenter (part of a 5.1 update).

    We tried the following workarounds:

    • Remove and add all the elements of the platform from the portal using services SE
    • Re import automation packs (4 of the Starter Edition v2.3.1.38)
    • Re on the keystore password

    No change at all...

    Do you have an idea on how to fix this?

    Thank you.

    Kind regards

    Stone

    || 235. 02/10/2012 15:46:21.667 | 6072. WCF: http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord ' gravity 'Error' = >http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.TraceHandledException.aspxhandling of an exception. . Tidal.Automation.Server.exe Tidal.Scheduler.Common.Communications.CommunicationException, Tidal.Scheduler.Common, Version = 2.3.0.0, Culture = neutral, PublicKeyToken = fba593b23cf207cdthe connection attempt (VMware vCenter Server (603) @VMware vCenter Server (603)) failed due to the following error: unable to connect to the VMware web service: Invalid keystore. to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (ServerAssistedOperation operation, target TargetConfiguration, RuntimeUserConfiguration runtimeUser)

    to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter. & lt; & gt; c__DisplayClass1c. & lt; PerformServerAssistedOperation & gt; b__1b(IAdapter adapter)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, haltingAction Boolean, Int32 remainingRetries)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, Boolean haltingAction)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation (operation ServerAssistedOperation)

    at SyncInvokePerformServerAssistedOperation (Object, Object [], Object [])

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke (object instance, entered to Object [], Object [] & amp; outputs)

    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.MessageRpc.Process (Boolean isOperationContextSet)Tidal.Scheduler.Common.Communications.CommunicationException: the connection attempt (VMware vCenter Server (603) @VMware vCenter Server (603)) failed due to the following error: unable to connect to the VMware web service: invalid key file.

    at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (ServerAssistedOperation operation, target TargetConfiguration, RuntimeUserConfiguration runtimeUser)

    to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter. & lt; & gt; c__DisplayClass1c. & lt; PerformServerAssistedOperation & gt; b__1b(IAdapter adapter)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, haltingAction Boolean, Int32 remainingRetries)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, Boolean haltingAction)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation (operation ServerAssistedOperation)

    at SyncInvokePerformServerAssistedOperation (Object, Object [], Object [])

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke (object instance, entered to Object [], Object [] & amp; outputs)

    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31 (MessageRpc & amp; CPP)

    at System.ServiceModel.Dispatcher.MessageRpc.Process (Boolean isOperationContextSet)

    || 236. 02/10/2012 15:46:21.667 | 6072. An exception that is not of type rhapsodyexception has been captured while a webmethod call was made.  This exception has been intercepted and generic.

    || 231: 02/10/2012 15:46:21.667 | 6072. EXCEPTION (Tidal.Scheduler.Common.Communications.CommunicationException): The connection attempt (VMware vCenter Server (603) @VMware vCenter Server (603)) failed due to the following error: unable to connect to the VMware web service: invalid key file.

    Stack trace: at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (ServerAssistedOperation operation, target TargetConfiguration, RuntimeUserConfiguration runtimeUser)

    to Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter. <> c__DisplayClass1c. b__1b(IAdapter adapter)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, haltingAction Boolean, Int32 remainingRetries)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction, Boolean haltingAction)

    at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction (Guid IDCarte, action AdapterAction)

    to Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation (operation ServerAssistedOperation)

    to Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation (operation ServerAssistedOperation)

    at SyncInvokePerformServerAssistedOperation (Object, Object [], Object [])

    at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke (object, Object [], Object [] entries & exits instance)

    at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin (MessageRpc & CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5 (MessageRpc & CPP)

    at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31 (MessageRpc & CPP)

    at System.ServiceModel.Dispatcher.MessageRpc.Process (Boolean isOperationContextSet)

    You have an invalid key file because the HTTPS certification has changed. You must remove the old keystore file and restart the OPC Server and then reconnect / run something against vCenter.

    It is also possible to host Adatper framework/java problems I've seen often.

    If you need more information, you will need to prosecute TAC with your service contract please. Normally, we try to solve no newspapers on the forums.

    -Shaun Roberts

    CIAC/CPO support team leader

    [email protected] / * /.

  • WAP Error Message received invalid key EAPOL MIC (msg 2/4)

    Hello

    can someone help me with this error message received invalid key EAPOL MIC (msg 2/4).

    Timestamp Gravity Service Description
    November 5, 2012 15:11:27 warn hostapd [4365] Received invalid key EAPOL MIC (msg 2/4)

    Only, I get this message of a device when connecting to the WIFI network.

    This only happens from time to time. Sometimes it connects without any problems.

    Appriciate any help.

    Sincerely

    Patrik

    This is an error when the STA (the computer) built the package. 2/4 is to indicate the negotiation process where it sends a value for single use with his own microphone. A microphone is a verification of the integrity of the messages (or code).

    Basically, this error is said, everything that this computer is sending is not valid. You can try to make the AP behave differently as force the use of side effects instead of TKIP + AES depending on which product you have. About removing 'mixed' wireless network. As example, try using WPA2 (AES) only.

    These errors are more frequent with TKIP, since it is the nature of TKIP to send one key per package.

    -Tom
    Please evaluate the useful messages

  • Invalid key for the specified state

    Re-install the lightscribe software: connect to screen (thin name / business very well / product key appears in the entrance to the screen.)  When I press on enter = error message - INVALID KEY for SPECIFIC STATE?    FROM WHAT I UNDERSTAND, IT MIGHT BE A STACK OVERFLOW?  How can I fix it?

    GH

    You should contact the developer (or computer mfr) lightscribe software.  We have no knowledge of their products.

  • Reinstall Windows 7 says invalid key

    Hello

    I am provided by employer a license Windows 7 Home Premium 64 bit laptop for personal use with the original attached behind license tag.
    I was not provided any DVD to reinstall.
    I used this laptop with the installation of origin for the last three years without any license issues.
    I had a few problems with the installation of VPN client and I ended up reinistalling Windows 7 to get the job of VPN.
    However when I tried to grab the valid license provided key it says invalid key for the first time and installation crossed successfully the next time I went in the same key. Note that I did not use ignore option to enter the license key later.
    However when I check the validity of the license using link he says initial grace period license status (29 days).
    http://go.Microsoft.com/fwlink/?LinkId=203456
    I used following links to reinstall Windows 7 using Windows 7 bootalbe USB stick (pen).
    http://www.microsoftstore.com/store/msusa/HTML/pbPage.Help_Win7_usbdvd_dwnTool
    http://www.w7forums.com/official-Windows-7-SP1-ISO-image-downloads-t12325.html
    Appreciate your help to solve this problem.
    Thank you
    Frederic M

    Activate Windows by using the procedure referred to in the following link.

    Now I see in MGADiag that the product is registered.
    Thank you
    Frederic M
  • Invalid key message. Why?

    I bought a replacement long computer, I don't remember when.  I tried to enter the key of product on the side of the Tower, but got an invalid key message.  Is this to say that I waited long after that my purchase of the computer to try to use microsoft office, not eligible to use, made 'Best Buy' making a mistake, or what?

    Please note that if you use the Windows 7 product key located on the certificate of authenticity attached to your system label, this will not work, it is only for Windows 7. You need a product key Office 2010.

    If your computer comes with a trial version of Office, you need to get a trial key or buy a full license:

    Trial license:

    http://Office.Microsoft.com/en-us/try/

    Full license:

    http://support.Microsoft.com/kb/823570

    Get the key;

    http://Office.Microsoft.com/en-us/buy/redir/XT101874326.aspx?CTT=5&origin=HA101847520

    If you purchased Office 2010 and get no valid product key error to refer the article mentioned below:

    http://support.Microsoft.com/kb/2002262

    Frequently asked questions about Office Activation Wizard and about features in Office 2010 and Office 2007 programs view programs

    http://support.Microsoft.com/kb/927921

    Error message when you start an Office application after installing a suite Office: "invalid product key".

    http://support.Microsoft.com/kb/836178

    If you have a trial version of Office 2010 that came with your computer, try to uninstall it first:

    Run the patch tool mentioned in the article below to uninstall Office 2010:

    http://support.Microsoft.com/kb/290301

    Download a trial version of Office 2010 that corresponds with the edition that you purchased and convert it to a version full:

    Trial license:

    http://Office.Microsoft.com/en-us/try/

    See the link on how to convert a trial version of a suite full Office 2010 or program to a commercial version: -.

    http://Office.Microsoft.com/en-us/project-help/convert-a-trial-version-of-an-Office-2010-suite-or-program-to-a-full-retail-version-HA101886436.aspx

    http://Office.Microsoft.com/en-us/buy/convert-your-trial-to-a-full-product-version-HA101812668.aspx?CTT=1

    -------------------

  • I have the cd-key of cs2. When I install reports an invalid key.

    I have the cd-key of cs2. When I install reports an invalid key. Why? When I load with the said forum key I only have a grace period of 30 days how I need a key or stop sw. No key that came with my cd or a site's key works.

    I don't think you read the instructions.  You will need to download a new installer. It does not use your discs.

    Here's what it says in the instructions: "to run a CS2 application, uninstall your existing CS2 application and install a special version that doesn't require activation. You cannot reinstall from your original disks. »

    Follow the intructions again more carefully.

    If your problems persist, see this last statement:

    'Search the forum for download, installation, and commissioning for answers. If necessary, create a thread in the forum and include the following information:

    • What application are you trying to install?
    • What operating system do you use?
    • The application has been previously installed on your computer?
    • What error messages are you getting? »
  • Acrobat 9 installed on the old laptop. How to transfer to the new laptop? When I enter the key on the new laptop 9 standered is say invalid key

    Acrobat 9 installed on the old laptop. How to transfer to the new laptop? When I enter the key on the new laptop 9 standard is say invalid key. Help, please

    Hi bijals3520936,

    Check the serial key find the serial number of your product Adobe quickly

    Also check for compatibility before installing the software Adobe Acrobat required configuration.

    Kind regards
    Nicos

  • SOAP Plugin, parameter setting value raises an invalid key exception.

    Hello

    I try to send a SOAP request to my Java application that requires the parameter as a String object.

    All by setting the value of the parameter in the object properties, pair key-value that is, I get an invalid key exception.

    Request is successful it sends a string NULL to my service request.

    Can anyone suggest me what I'm missing when setting the value of the parameter in orchestrator?

    Thanks in advance

    I'm not sure that you provide enough detail for someone to help you with this...

    Maybe something that might help is this article that I just wrote. I had problems with a SOAP call to a remote system and was unsure of what the header and the body have been really put. The procedures described in this article help you view what is actually generated with the plug-in of SOAP. You can then compare that with a working SOAP request that you test in something like soapUI to see where is the difference.

    How to use the SOAPInterceptor to see the SOAP header and body

  • Hello! I had taken off my old PC Adobe Acrobat. I want to install the Adobe Acrobat 9 on my new PC. However, I got the error message invalid key

    Hello! I had taken off my old PC Adobe Acrobat 9. When I tried to install the software on my new PC. I got the error message of invalid key.

    Pls help. TKS.

    Hadrian, please try to follow the below mentioned steps.

    I hope this helps.

    Atul_Saini

  • Upgrade to LR5.6 problem "invalid key in the State specified." What?

    I downloaded an update of LR5.5 to 5.6 (Windows 64-bit) and by train running 5.6 start-up, the program stopped and gave me a popup stating "invalid key in the specified state. What does that mean? Now I don't see the LR5 program on my computer at all. How do I return 5 Lightroom?

    Hi dj,

    I think it's related to this update that seems to affect the MSI installer on some systems (KB2918614)

    See this thread and uninstall the individual update and it should then install: 5.6 Installation fails "object already exists"

    I hope that Adobe can revisit this issue.

  • Invalid key exception: no type of key: public key RSA Sun, 1024 bits

    I'm trying to recover Microsoft Keystore certificates and extract its key using SunMSCAPI in the jdk 1.6. It gives me an exception for invalid key when I try to wrap the symmetric key (what was once to perform AES encryption on data), using the RSA algorithm.

    Code snippet:
               // RSA 1024 bits Asymmetric encryption of Symmetric AES key              
                // List the certificates from Microsoft KeyStore using SunMSCAPI.
                      System.out.println("List of certificates found in Microsoft Personal Keystore:");
    
                       KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI"); 
                       ks.load(null, null) ;
                       Enumeration en = ks.aliases() ;
                       PublicKey RSAPubKey = null;
                       Key RSAPrivKey = null;
                       int i = 0;
                       while (en.hasMoreElements()) {
                            String aliasKey = (String)en.nextElement() ;              
                            X509Certificate c = (X509Certificate) ks.getCertificate(aliasKey) ;     
                            String sss = ks.getCertificateAlias(c);
                            if(sss.equals("C5151997"))
                            {
                            System.out.println("---> alias : " + sss) ;
                            i= i + 1;
                            String str = c.toString();
                            System.out.println(" Certificate details : " + str ) ;
                          RSAPubKey = c.getPublicKey();
                            RSAPrivKey = ks.getKey(aliasKey, null);  //"mypassword".toCharArray()
                            Certificate[] chain = ks.getCertificateChain(aliasKey);     
                            }
                       }
                       
                       System.out.println("No of certificates found from Personal MS Keystore: " + i);
                    
                // Encrypt the generated Symmetric AES Key using RSA cipher      
                        Cipher rsaCipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", ks.getProvider().getName());            
                       rsaCipher.init(Cipher.WRAP_MODE, RSAPubKey);
                       byte[] encryptedSymmKey = rsaCipher.wrap(aeskey);    
                       System.out.println("Encrypted Symmetric Key :" + new String(encryptedSymmKey));
                       System.out.println("Encrypted Symmetric Key Length in Bytes: " + encryptedSymmKey.length);
                       
                       // RSA Decryption of Encrypted Symmetric AES key
                       rsaCipher.init(Cipher.UNWRAP_MODE, RSAPrivKey);
                       Key decryptedKey = rsaCipher.unwrap(encryptedSymmKey, "AES", Cipher.SECRET_KEY);
    Output:

    List of certificates in Microsoft personal Keystore:
    -> alias: C5151997
    Certificate details:]
    [
    Version: V3
    Object: CN = C5151997, O = SAP - AG, C = OF
    Signature algorithm: SHA1withRSA, OID = 1.2.840.113549.1.1.5

    Key: Sun public key RSA 1024 bits
    modulus: 171871587533146191561538456391418351861663300588728159334223437391061141885590024223283480319626015611710315581642512941578588886825766256507714725820048129123720143461110410353346492039350478625370269565346566901446816729164309038944197418238814947654954590754593726047828813400082450341775203029183105860831
    public exponent: 65537
    Validity: [from: Mon Jan 24 18:17:49 IST 2011,]
    [To: Wed Jan 23 18:17:49 IST 2013]
    Issuer: CN = SSO_CA, O = SAP - AG, C = OF
    Serial number: [4d12c509 eb85 00000005]

    Certificate extensions: 6
    [1]: ObjectId: 2.5.29.14 criticality = false
    [SubjectKeyIdentifier
    [KeyIdentifier
    0000: 07 E5 83 A1 B2 B7 DF 6 b 4 b 67 1 and 9 D 42 C9 0 D F4... kKg... A.M..
    0010: 35 76 D3 F7 5v...
    ]
    ]

    [2]: ObjectId: 2.5.29.35 criticality = false
    [AuthorityKeyIdentifier
    [KeyIdentifier
    0000: E4 C4 2 93 20 AF DA 4 C 53 68 4A C0 CE E7 F2, 30. .. L.ShJ... 0
    0010: 0C 3 B 8 C 9 A. ;.
    ]

    ]

    [3]: ObjectId: 1.3.6.1.4.1.311.21.7 criticality = false
    Unknown extension: coded DER BYTE string =
    0000: 04 30 30 2 06 26 2 b 06 01 04 01 82 37 15 08 82.00... & +... 7...
    0010: D1 E1 73 E4 84 FE 0B FD 84 8 B 15 83 E5 1B 90 83... s.............
    0020: 43 81 62 84 B1 A1 E6 DA 50 14 02 01 64 02 9TH D3... C.b... P...d.
    0030: 01 1B...


    [4]: ObjectId: 2.5.29.17 criticality = false
    [SubjectAlternativeName
    RFC822Name: [email protected]
    ]

    [5]: ObjectId: 2.5.29.15 criticality = true
    [KeyUsage
    DigitalSignature
    Non_repudiation
    Key_Encipherment
    Data_Encipherment
    ]

    [6]: ObjectId: 2.5.29.19 criticality = true
    BasicConstraints:]
    CA:false
    PathLen: undefined
    ]

    ]
    Algorithm: [SHA1withRSA]
    Signature:
    0000: B3 C5 8 66 92 F4 CC D7 ED 6 51 12 63 52 18 B9... f... mQ.c... R.
    0010: B8 A6 78 7 78 18 ED F7 DA 71 09 AE 49 23 C8 C9... .. x...x. q... I have #.
    0020: F5 2F 32 0F D1 C0 08 4 2 B 6 D 3 C B9 5F 5B B5 11. 2 /... L + m <... _ [.]
    0030: 05 D9 CA E6 F9 0 a 94 14 E7 C6 7 a 63 DB FE E5 CE... z.c...
    94 0040:48 8 c 0D 77 92 59 34 6 77 1 a 24 FE E3 C1 H...w. Y .4nw$...
    0050: 0 B 52 6 D8 HAS 7TH 22 13 71 F8 AF 17 64 4F C8 D1 D7... RJ. ». q... dO
    0060: 83 EA 2D 6a CA 7F C3 84 37 15 FE 99 73 1 D 7 C D1... - j... 7... s...
    0070:6 B4 99 09 62 B9 0F 18 33 4 66 C6 7 a 9F C0 DB m... b... 3L. FZ...

    ]
    None of the found certificates in personal key MS: 1
    Exception in thread "main" java.security.InvalidKeyException: unsupported key type: RSA Sun public key, 1024 bits
    modulus: 171871587533146191561538456391418351861663300588728159334223437391061141885590024223283480319626015611710315581642512941578588886825766256507714725820048129123720143461110410353346492039350478625370269565346566901446816729164309038944197418238814947654954590754593726047828813400082450341775203029183105860831
    public exponent: 65537
    at sun.security.mscapi.RSACipher.init(RSACipher.java:176)
    at sun.security.mscapi.RSACipher.engineInit(RSACipher.java:129)
    at javax.crypto.Cipher.init(DashoA13*..)
    at javax.crypto.Cipher.init(DashoA13*..)
    at com.sap.srm.crpto.client.applet.CryptoClass.main(CryptoClass.java:102)

    Published by: sabre150 on July 18, 2011 03:47

    Added [code] tags to make the code readable.

    A little research indicates the key classes gets by

                          RSAPubKey = c.getPublicKey();
                               RSAPrivKey = ks.getKey(aliasKey, null);  //"mypassword".toCharArray()
    

    are sun.security.rsa.RSAPublicKeyImpl and sun.security. * mscapi *. RSAPrivateKey. It seems that Cipher objects from the SunMSCAPI provider cannot accept class sun.security.rsa.RSAPublicKeyImpl RSA public keys and that the SunMSCAPI will accept only class sun.security.mscapi.RSAPrivateKey RSA private keys.

    This came in another form a couple of years. It makes sense because the packaging/encryption with a public key does not represent a security problem (there no secret in cryptographic operations) once done outside MSCAPI can use any provider who has the ability , BUT unpacking/decryption must be done with the SunMSCAPI provider which it delegates to the MSCAPI.

    My test code of work based on your code for implementation of this approach is:

            // RSA 1024 bits Asymmetric encryption of Symmetric AES key
            // List the certificates from Microsoft KeyStore using SunMSCAPI.
            System.out.println("List of certificates found in Microsoft Personal Keystore:");
    
            KeyStore ks = KeyStore.getInstance("Windows-MY", "SunMSCAPI");
            ks.load(null, null);
            Enumeration en = ks.aliases();
            PublicKey RSAPubKey = null;
            Key RSAPrivKey = null;
            int i = 0;
            while (en.hasMoreElements())
            {
                String aliasKey = (String) en.nextElement();
                X509Certificate c = (X509Certificate) ks.getCertificate(aliasKey);
                String sss = ks.getCertificateAlias(c);
                if (sss.equals("rsa_key")) // The alias for my key - make sure you change it back to your alias
                {
                    System.out.println("---> alias : " + sss);
                    i = i + 1;
                    String str = c.toString();
                    System.out.println(" Certificate details : " + str);
                    RSAPubKey = c.getPublicKey();
             System.out.println(RSAPubKey.getClass().getName());
                   RSAPrivKey = ks.getKey(aliasKey, null);  //"mypassword".toCharArray()
            System.out.println(RSAPrivKey.getClass().getName());
                    Certificate[] chain = ks.getCertificateChain(aliasKey);
                }
            }
            System.out.println(ks.getProvider().getName());
            System.out.println("No of certificates found from Personal MS Keystore: " + i);
            Cipher rsaCipher = Cipher.getInstance("RSA/ECB/PKCS1Padding");//, ks.getProvider().getName());       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                rsaCipher.init(Cipher.WRAP_MODE, RSAPubKey);
            byte[] keyBytes =
            {
                1, 2, 3, 4, 5, 6, 7, 8, 2, 3, 4, 5, 6, 7, 8, 9
            };
            SecretKey aeskey = new SecretKeySpec(keyBytes, "AES");
            byte[] encryptedSymmKey = rsaCipher.wrap(aeskey);
            System.out.println("Encrypted Symmetric Key :" + Arrays.toString(encryptedSymmKey));
            System.out.println("Encrypted Symmetric Key Length in Bytes: " + encryptedSymmKey.length);
    
            // RSA Decryption of Encrypted Symmetric AES key
            Cipher unwrapRsaCipher = Cipher.getInstance("RSA/ECB/PKCS1Padding", ks.getProvider().getName());       //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
            unwrapRsaCipher.init(Cipher.UNWRAP_MODE, RSAPrivKey);
            Key decryptedKey = unwrapRsaCipher.unwrap(encryptedSymmKey, "AES", Cipher.SECRET_KEY);
            System.out.println("Decrypted Symmetric Key :" + Arrays.toString(decryptedKey.getEncoded())); // Matches the 'keyBytes' above
    

Maybe you are looking for

  • How to disable messages of cloud in the iOS?

    My iPhone regularly asks me to enter a password to access the cloud. How can I disable these messages?

  • How create/get ColorPal driver for LabVIEW?

    Hello! I am a french student in England and I'm working on the Starter Kit 2.0 (with DaNI Robot). My company wants to turn the feature of prevention of obstacle (thanks to the ultrasonic sensor) into a follower of colored (thanks to the Parallax Colo

  • Get inluded games to work in Vista Business.

    I use Vista Business and I try to get the games to work which are included. On the Microsoft answers site, I found the following instructions;   "The games are included in Business, but they are not installed by default. "Go to control panel, program

  • With the help of USB-6009 with LabView 8.0

    I try to use a USB-6009 with LabView 8.0 box.  I DAQmx 8.8 (that came with the unit) installed and verified that the 6009 works correctly through MAX I also read on this site that the 6009 is compatible with LabView 7 or more.  However, I am unable t

  • How to remove the covers on IQ771 UK

    I know how to take screen + market covers back. Its front covers that I need to know how to remove, so I can access the graphics card, I might need to replace it. Thank you Lo.