VCS version 6.0 to 6.1 invalid key upgrade

Hi all

I'm trying to upgrade a VCS 6.0 to 6.1 control but every time about halfway through the process, I get the message "invalid release key" and the process will stop.  I tried leaving blank the key field of the release at the beginning of the upgrade process and tried to enter the key of the current release.  The two attempts to return the same results.  I was under the impression that a new unlock key is not necessary for minor version.  Indeed, next to the entry field it is said that it is not necessary for press.  Has that changed or did I miss something?

Hi William,.

Could you provide me the SN of the VCS?

You are right that you should not need a key to unlock for an upgrade to 6.0 to 6.1. It's sometimes confusing on what version of VCS to download from Cisco website. There are two versions. AES (encrypted) and non - AES (unencrypted).

Most customers will have to download the package s42700x6_1_0.tar.gz. (AES)

Check if you have downloaded s42701x6_1_0.tar.gz. (non - AES)

Thank you

Chad

Tags: Cisco Support

Similar Questions

  • 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/

  • 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 have a licensed version of PhotoShop CS5 and bought a CS6 upgrade.   When I update, it says invalid license id.   What to do next?  How can I contact personal support?

    I have a licensed version of PhotoShop CS5 and bought a CS6 upgrade.   When I update, it says invalid license id.   What to do next?  How can I contact personal support?

    Hi David,

    You must download Photoshop CS6 and enter the serial number for Photoshop CS6 and then you will be prompted to enter the serial number of product qualification.

    Enter the serial number CS5 to install and activate Photoshop CS5 on your machine.

    Please post on the Adobe Forums.

  • 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?

  • 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] / * /.

  • is it possible to install a 64-bit version and use the 32-bit license key?

    Hi, I'm Gian Carlo. I bought and activated a windows 7 pro 32 bit version, in fact, I need Windows 7 pro 64-bit version. so is it possible to install a 64-bit version and use the 32-bit license key? is it valid? I tried but its key invalid showing... I heard 32 bit or 64 bit again we can select one with the same key... is this true? How to do? Please help me up... Thank you...

    Hi, I'm Gian Carlo. I bought and activated a windows 7 pro 32 bit version, in fact, I need Windows 7 pro 64-bit version. so is it possible to install a 64-bit version and use the 32-bit license key? is it valid? I tried but its key invalid showing... I heard 32 bit or 64 bit again we can select one with the same key... is this true? How to do? Please help me up... Thank you...

    As long as they are the same edition, Yes, you can use the same product key to install the 64 bit version of Windows 7 Professional.

    Skip entering your product key Windows 7 and complete the installation.

    When you reach the desktop, click Start, right-click on computer

    Click on properties

    Scroll down to the Windows Activation

    Click the link x days before activation.

    Click on the link that says: "show me other ways to activate.

    Enter the product key

    Click next

    Select the Activation of the phone

    Click Next when you enter your key page

    Select your country

    Click Next, call the number listed

    Be sure to explain your situation to the Appeals Officer.

    Provide the installation generated when ID requested by the call agent

    They give a confirmation ID in return, enter it

    Click next to complete the activation.

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

    or

    How to activate Windows 7 manually (activate by phone)
     
    1) click Start and in the search for box type: slui.exe 4
     
    (2) press the ENTER"" key.
     
    (3) select your "country" in the list.
     
    (4) choose the option "activate phone".
     
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
     
    (6) explain your problem clearly to the support person.
     
    http://support.Microsoft.com/kb/950929/en-us

  • 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? »
  • 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
    
  • OLAP API INVALID after upgrading 10.2.0.1 to 10.2.0.3 &amp; remove/reinstall

    Hi all

    We had the test consisting of RHEL 5 with 10.2.0.1 environment. Last week, we decided to update to 10.2.0.3. Overall, migration went smooth except Oracle OLAP API, which became INVALID after upgrade. Here are more details:

    SQL > SELECT ComputerName, status, substr(version,1,10) version of dba_registry;
    COMPUTERNAME STATUS VERSION
    ------------------------------------------------------------ ----------- ----------
    Oracle Enterprise Manager VALIDATES 10.2.0.3.0
    Space VALID 10.2.0.3.0
    VALID interMedia Oracle 10.2.0.3.0
    OLAP catalog VALID 10.2.0.3.0
    VALID XML from Oracle 10.2.0.3.0 database
    Text VALID Oracle 10.2.0.3.0
    INVALID Filter Expression Oracle 10.2.0.3.0
    Rule Manager Oracle 10.2.0.3.0 VALID
    Manager workspace 10.2.0.1.0 Oracle VALIDATES
    Oracle Data Mining VALID 10.2.0.3.0
    Catalog of database Oracle 10.2.0.3.0 VALID view (s)
    Packages of Oracle database and the Types of INVALID 10.2.0.3.0
    JServer JAVA Virtual Machine VALID 10.2.0.3.0
    Oracle XDK 10.2.0.3.0 VALID
    Packages of Java database Oracle 10.2.0.3.0 VALID
    Analytic workspace VALID OLAP 10.2.0.3.0
    API of OLAP Oracle 10.2.0.3.0 INVALID

    There is a procedure available on metalink with the name "xoq_validate_verbose" (Oracle Olap Api disabled after upgrade to 10.2.0.3 - Note: 603179.1 )
    ).
    SQL > set serveroutput size 10000
    SQL > exec xoq_validate_verbose
    compat-> 10.2.0.1.0
    FRONT OF BOOTSTRAP
    ORA-37111: unable to load the OLAP API shareable library: (libstdc ++. so.5: could not open the object file shared: no such file or directory)
    AFTER BOOTSTRAP: REGISTRY. Not valid
    ComputerName: Oracle OLAP API
    version: 10.2.0.3.0
    status: invalid

    PL/SQL procedure successfully completed.

    Always the API Oracle OLAP was not valid. Then, I followed a procedure ' how to remove or reinstall the OLAP Option - Note: 332351.1'. Even in this case, it did not help.

    Can someone help me solve this problem.

    BR,
    --
    Anjum

    Execution of xoq_validate_verbose points to the problem if libstdc ++. so.5 cannot be found, perhaps, he does not exist or is not able to access because of file permissions. This file is installed with compat-libstdc ++-33.

    Enrique

  • can I return from a V16.01 to an earler version? as I do not wish to upgrade my Mac os on this computer

    Can I go back to V16.01 to an earlier version? as I do not wish to upgrade my Mac os on this computer as I lost software that is not supported in 10.8

    16.0.1 Firefox will work fine on your mac, will not only new versions (17 and older). Firefox no longer works with Mac OS X 10.5

  • I installed the full version LavVIEW 8.6. I tried to upgrade to the professional version 8.6 by simply installing the new discs, and it has not upgraded. What do I need to uninstall, or is there a trick?

    I installed the full version LavVIEW 8.6.  I tried to upgrade to the professional version 8.6 by simply installing the new disks, and it didn't perform the upgrade.  First, I have to uninstall and reinstall, or is there a trick?

    Look in the License Manager in the National Instruments of your Start menu folder.  This is probably just a matter of activating LabVIEW 8.6 and maybe some other features with your new code license rather than your previous full version license code.

  • I just bought streets &amp; trips 2010 (10/02/2011) and now there is a 2011 version. Is there time for a free upgrade?

    I just bought streets & trips 2010 (10/02/2011) and now there is a 2011 version.  Is there time for a free upgrade?

    As I understand it, there is no option available for the streets and trips 2011 upgrade.

    If you are interested in the 2011 version you can buy a new copy, which is now on sale, just for 24.95

    http://www.microsoftstore.com/store/msstore/pd/productID.225660300?WT.mc_id=pointitsem_US_Bing_5-Streets_generic&wt.term=streets%20and%20trips%202010&wt.campaign=5+-+Streets+%26+Trips&wt.content=bzmgML4T&wt.source=bing&wt.medium=cpc&WT.srch=1

  • 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/.

Maybe you are looking for

  • Updated to IOS 9.3.5 camera does not work on iPhone 6 Plus

    Hi just recently, I've updated the iOS software on my iphone 6 and then I noticed that the camera does not just black screen in Meanwhile appeared when changed to video work the two camera when choose photo camera does not however any idea how to sol

  • How to reset code restriction without backup

    How can I reset my code restriction without backup? But I want to lose al my apps and files (I don't want to reset not everything).

  • Laptop Wireless to the Blu - Ray format?

    I'm my BDP-S370 to the network wireless network without buying the UAW-BR100. I got to thinking, I have a laptop soon sit 4 feet from my TV. Would it not possible to connect the laptop to the Blu - Ray via USB to USB cable and accomplish the same thi

  • B50-30 AIO - SD card reader not detected after upgrading Windows 10. Solved.

    AIO B50-30 (F0AU002US) SD card reader was not detected after that I upgraded to Windows 10. I have installed all the appropriate drivers found on the page for assistance with on Lenovo a fix. Device PCI Device Manager had no driver. I installed the d

  • Cougar for Officejet L7590 fax software update

    Popup says I need software of HP to get the fax to work. He begins looking for software, none found, said I need a software manufacturer. I go to the HP site, find my camera, can you tell me to run the software update. Software update said: I'm updat