Subject Key Identifier (SKI) changed after RootCA upgrade

Hello,
I have a RootCA running windows 2003 ENT SP2 and I made an upgrade to a new machine (newer HW) and Windows 2008 R2.  The original rootCA was configured with an HSM, so the backup CA is not an option for me since the keys can not be exported (I dont
have a .p12 file).
I exported the HSM settings together with the keys (HSM vendor's procedure) and during the CA setup wizard, I select the option: "Use existing private key” and then “Select an existing private key on this computer” .  Then I click on "edit"
select the correct CSP (the one from the HSM) and click on "Search".  The private key appears immediately, I select it and i keep going with the installation.  It all goes smoothly and CA services are correctly installed.
The problem is that the SKI of the new CA certificate does not match with the SKI of the original CA certificate, it is changed somehow during the installation. 
I have performed the same test, but migrating to another windows 2003 server, and the SKI is kept exactly the same, there is no difference (maybe the way the SKI is generated is different from windows 2003 to 2008).
My applications communicate to each other using this SKI, replacing it everywhere is something that i dont want to consider.
Does somebody know if it is possible to force this setting to be kept?
Thanks in advance
Best regards

Hi Vadims,
Thanks for your reply,  I have been playing a bit with openssl and a CA certificate, and in the meantime i solved the issue, and this is what I "guess" or what I understand from it:
1) If you install CA services and use the options:  select and existing key --> select a certificate  --> then you will have to choose a p12 file which contains both (public and private key) and will use both values to generate a NEW certificate,
but it will NOT generate the SKI value, it will just use the one from the p12 file.  That is why the SKI does not change if you use this option
2) I am using an HSM and the private key is stored there and can not be exported, so, i can not generate a p12 file, in that case, I have the opther option in the wizard:  select an existing key --> use an existing key.... Then i can choose the correct
private key from the HSM once i select the correct CSP... And then the fun begins:
3) Acording to the RFC
For CA certificates, subject key identifiers SHOULD be derived from
   the public key or a method that generates unique values.  Two common
   methods for generating key identifiers from the public key are:
      (1) The keyIdentifier is composed of the 160-bit SHA-1 hash of the
      value of the BIT STRING subjectPublicKey (excluding the tag,
      length, and number of unused bits).
      (2) The keyIdentifier is composed of a four bit type field with
      the value 0100 followed by the least significant 60 bits of the
      SHA-1 hash of the value of the BIT STRING subjectPublicKey
      (excluding the tag, length, and number of unused bit string bits).
4) After all my openssl adventure, it all came down to 2 files containing the public key and the BIT STRING of the public key,  I opened them both and I confirmed that for the SKI generated on the windows 2008 machine, the method used to calculate the
SKI is using the BIT STRING (option (1) from the RFC) 
While for the SKI generated in the windows 2003 machine, the method is :  ???????
What I think is that from windows 2003 to windows 2008 the certificate services changed the way they calculate the SKI.
First they were maybe doing a SHA1 of the whole public key and now they are using a SHA1 of only the bitstring of the public key which is more similar to what is said on the RFC (point 1)).
Then I started to look if there was a way to change this, and....

Similar Messages

  • Subject Key Identifier of x509 v3 certificate

    Hi everyone,
    I have the following code I am using to extract the Subject Key Identifier from a X509 Certificate-
    byte[] subjectKeyIdentifier =
    cert.getExtensionValue("2.5.29.14");
    This returns the DER encoded Octet string. However I want the octet string exclusing the encoding of the octet string prefix... How do I know the exact length of the prefix?
    appreciate any help,
    --Manveen                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    if you use bouncycastle provider you can take advantage of the classes in org.bouncycastle.asn1 package.
    byte[] outer = cert.getExtensionValue("2.5.29.14");
    DERInputStream dis = new DERInputStream(new ByteArrayInputStream(outer));
    ASN1OctetString oc =(ASN1OctetString)dis.readObject();
    byte[] inner = oc.getOctets();If you want to take that to check in a certpath check or validation you might check posts like
    http://forums.java.sun.com/thread.jspa?threadID=633098

  • Process Chain behavior changed after SP upgrade

    Hi all, we've recently updated SP from SAP_BW 700, SAPKW70016 to SAPKW70021.
    We realized about a particular process chain behavior:
    We have many process chains configured to execute the next step "Always" (whatever it happens with the previous process).
    This is the situation which changed:
    BEFORE the upgrade:
    If error raises on a process, this one remains "red" but the subsequent processes continues.
    Once repaired (repeat/repair from the PC) the "crashed" process it is updated to "Green" status.
    AFTER the upgrade:
    If error raises on a process, this one remains "red" but the subsequent processes continues.
    Once repaired (repeat/repair from the PC) the "crashed" process it is updated to "Green" status.
    The remaining processes are executed once again (a new branch is generated). <- This is different
    I want the "BEFORE the upgrade" behavior to keep working as always.
    Do you know if there's some OSS note or tips of configs available to set this as my needs? (we have found the OSS Note 1398868 and implemented it, but the "effect" is not as we should expect for this case in particular).
    I hope you can help. Thanks in advance and best regards,
    Bernardo

    I've found the OSS note: Note 1473491 - Chain not continued with termination and "ALWAYS" link; delivered with "SAPKW70025" corrections. It seems to be solving the issue I've originally mentioned. I'll perform some tests on this and update.
    Regards,
    Bernardo

  • Excel layout changed after EHP5 upgrade from EHP4.

    Hi All,
    We have just finished the EHP5 upgrade from EHP4 for ECC 6.0 for our production system. BUT we noticed that The standard layout, (also known as Dynamic List Display) has been chagned in EHP5 compare to EHP4.
    This is affected us as we have lot of macros enable for the excel files.
    Request you all to help. Is there any sapnote, anyway we can resolved this issue.
    Thanks

    Hi Markus,
    Thanks for reply.
    I not sure how i can attached file over here? Is there anyway to attached files in the forum?. I have the before and after image of excel file.
    But the position of the data which is downloaed in the excel sheet has been changed after upgrade. For example ,Before upgrade the column named "Description" in the production plan report was in the second column i.e. B where as after upgrade the "Description" column in the production plan report is in the first column i.e. A.
    I mean the postion of the data changed in after upgrade. Therefore macro which are enable are not working anymore.
    New Format Example
    Production plan          
    Description                        Material                               Sales doc.
    IRB 2600 M2004                 3HAC020536-018              104861
    IRB 2600 M2004                 3HAC020536-018              2BT0615486
    OLD Format
    Production plan                    
                                          Description                    Material                               Sales doc.
                                          IRB 2600 M2004            3HAC020536-018               104861
                                          IRB 2600 M2004            3HAC020536-018               2BT0615486
    Hope this above will help to make it clear.
    After checking this message ... the output example given above seems to be not showing the way i itend to... But in above example in the old format the Description column was at column B instead of column A after upgrade.
    Thanks
    Edited by: deepak.shinde on Oct 11, 2011 8:34 AM
    Edited by: deepak.shinde on Oct 11, 2011 8:36 AM

  • How do I Change the Name of My MacBook and Why was it Changed after the Upgrade to Yosemite?

    Hi everyone,
    I upgraded my MacBook Air (2012) to Yosemite a few months back and it changed the name of my Mac from "Alan's MacBook" to "Alan MacBook Air (2)." I simply want to know how to change it back to the original name. Also, why was it changed in the first place after my upgrade to Yosemite?
    Thank you so much!!!
    Alan

    Professor AR wrote:
    Also, why was it changed in the first place after my upgrade to Yosemite?
    This was a common bug in Yosemite. Follow dwb's instructions but also restart your router. Make sure you're running OS X 10.10.2 since it was supposed to have been addressed with that update.
    I have heard allegations regarding simultaneous use of both Wi-Fi and Ethernet (or equivalent adapter, considering it's a MBA) but can find no justification for them, and I never personally observed any correlation to it. It's perfectly acceptable to use both.

  • Changes after firmware upgrade in nokia 3250

    hi i have nokia 3250 and want to are there any changes after upgrading firmware beacuse before i owned nokia 6270 and after upgrading firmware the music volume on my headset became very low and i dont want same wit my 3250

    yeah, the N80 has a history of being buggy. Even with the latest firmware. Its a shame, because it was a damn good phone. Anyhow
    You can download Yahoo!Go from:
    http://uk.mobile.yahoo.com/go
    Not sure about the others. (My operator, Three, offers Yahoo Messenger and Yahoo Go to its customers, but they "are incompatible with the N80" if you can believe that.)
    Anyhow..
    Currently using E71, looking at options

  • URLconnection.getLastModified cannot identify file changes after connection

    In my code, I am using URLconnection.getLastModified to watch for file changes. Unfortunately, when the file changes after the URLconnection is made, it does not recognize the file changes. Any ideas on how to make this work?
    Thanks
    public FileChangeMonitor(URL fileURL) throws IOException {
    targetURLconnection = fileURL.openConnection();
    targetURLconnection.setUseCaches(false);// This didn't seem to help - can be deleted.
    public static void main(String[] args) throws InterruptedException {
    FileChangeMonitor testFileChangeMonitor = null;
    try {
    URL MyDataFile = new URL("http://localhost/MyDataFile.xml");
    testFileChangeMonitor = new FileChangeMonitor(MyDataFile);
    } catch (IOException i) {
    testFileChangeMonitor.start();
    @Override
    public void run() {
    long lm = targetURLconnection.getLastModified();
    long lm2 = 0;
    try {
    while (true) {
    Thread.sleep(POLL_INTERVAL);
    lm2 = targetURLconnection.getLastModified();
    if (lm2 != lm) {
    flag = FLAG_CHANGED;
    lm = lm2;
    fireStateChanged();
    System.out.println("MyDataFile Changed!!!");
    } catch (InterruptedException e) {
    e.printStackTrace();
    }

    If (hypothetically speaking) you had an HTTP URL (which of course points to a resource in general but it might happen to be a file in your case), then a common way to examine its last-modified date is to send an HTTP HEAD request and examine the headers in the response.

  • Evaluation Path Results change after ECC6 Upgrade

    Hi All,
    We have upgraded to ECC6 up to and including our QA environment. We are running an old java version of the MSS team viewer. We have a custom evaluation path, a modified version of SAP_MANG (Z_MANG) that we have been using for years. After upgrade any view that involves an organization is showing duplicates...
    Example of output
    Organization 1
    Person 1
    Person 2
    Organization 1
    Person 1
    Person 2
    Our Z_MANG Evaluation Path looks like this...
    No     Obj. Typ.     A/B     Relat     Relat Name      Priority     Relat Obj Typ     Skip
    10      *                 B         008       Holder              *               S                        X
    20      S                A         012       Manages...      *               O      
    21      S                A         Z01      Salary Budg     *               * 
    22      S                A         Z02      HR Manages    *               *
    30      US             A          208      Is Identical to    *               *                         X
    Only when we skip No 21 Salary Budg is the problem resolved. Has anyone run into problems after upgrade to ECC60 that the results for an exting evaluation path have changed like this?
    Thanks,
    Doug

    >
    Doug Steckel wrote:
    > Hi Ranganath,
    >
    > Thanks for the quick reply. Yes the Skip flag is set on relationships 10 and 30. I would also think that would prevent this but it is not.
    >
    > Thanks,
    > Doug
    not all relationships represent physical data records in the database.  some are derived and without looking at the system, I believe the US 208 to P is a derived relationship.
    Are you sure all the users you are testing with have a proper sy-uname setup for all respective pernrs in PA0105?

  • Profile Parameter changes after RAM Upgrade?

    Hi,
    We are using SAP ECC 6.0 on AIX 5.3 and IBM p595 seriers
    Now we have upgrade the Physical memory (RAM) from 8 GB to 16 GB.
    After Upgrading/Degrading the Physical memory (RAM) from the Server,What manual Changes has to be done for Profile parameter.Please provide the details.
    Cheers
    Deepu

    Hi ,
    After Changing the RAM in SAP System ..
    1) Increase the No of Work Processes , If Required
    2) Increase the size of Memory Areas ( Size of Extended Memory) , If you face any Memory Dumps
    3) Increase the SAP Buffer Sizes ( Program Buffer etc.) to have better performance.
    But it is not compulsary that you should change these parameters but changing these Paramters Values will improve performance of SYstem
    Thanks
    Deepak Gosain

  • WPC HTML editor rendering changed after SPS21 upgrade

    Hello experts,
    We've just upgraded our SAP Portal to SPS21. This upgrade included KMC. Since the upgrade the fontsizing of content types has changed. Everything has become so small, content cannot be properly read. I'm trying to narrow down the problem and found out the following:
    - It only happens when existing content (pre upgrade content) get saved. Before saving the font size is good, but after saving it changes.
    - It only happens to content which is being edited in the HTML edit object of WPC.
    I was surprised it only happens to existing content and not to new content. Using the IE Developer toolbar I tried finding out the difference in HTML. This is what I found:
    - Existing content is only rendered by the XSL. The XSL defines the content to be viewed in a paragraph tag. This is exactly the output of the HTML
    - New content (same content type) is rendered by the XSL, but has "extra" rendering: Text is shown in two SPAN tags <span> with extra class attributes urFontStd and urTxtStd.
    I don't know enough about WPC to know why it renders in two different ways if the same xsl file is used for the content. I hope someone can help me solve this problem.
    Thanks in advance.
    Kenny
    Edited by: K. Kok on Sep 30, 2010 1:58 PM

    No, I don't have a proper solution yet, but we adjusted our stylesheet., so we have a workaround A normal paragraph has 0.75 em and a paragraph inside the spans have a 1.0em value. Both paragraphs show the results in 12px.
    It's not pretty, but it works.

  • Unread Email Count change after ios7 upgrade

    In ios 6 the unread email count was based on the how many weeks/days of email you sync. Now after upgrading to ios7 the unread email count for me between gmail and ymail is 1000s of email as I have unread email on the server from 2012 and 2011 which I dont snyc with phone(since I only snyc last week of emails). Is there a way to customize the settings so the unread email count setting goes back to how it was in ios6.

    I meant to say "In ios 6 the unread email count was based on the how many unread emails you have on your phone. With number of email on the phone was dependent on the # of weeks/days setting for the email". Now with ios7 the number of unread emails are based on the number of unread emails total you have for that email account.

  • N96 Home screen changed after firmware upgrade

    I just updated my N96 fimware and now my home screen top bar shows different icons, the last two now show icons for downloaded applications. What settings have changed and how do I change back to my original icons.

    Hi there.
    The firmware upgrade does reset a few settings. It is easy to change things though....
    Click on Tools > Settings > General > Personalisation > Standby Mode > Shortcuts
    You can then change the shortcuts to whatever you want.
    Hope that helps.....
    There are 10 types of people in the world. Those who understand binary and those who don't.

  • SAP parameters need to be changed after memory upgrade

    HI,
    Recently we had the memory in few systems increased by 2-4 GB. Do we need to change any SAP/DB parameters due to this change?If yes, what are they? Info: Platform is AIX/Oracle, ECC6 and BI 7.0
    Regards,
    Arindam

    Thanks for your reply.
    No, I mean the memory has been increased by 2 - 4 GB. For e.g. in one system memory was 16 GB, it was increased to 20GB. In another system the memory was 12 GB, it was increased to 14GB. What I want to know is, because of this increased memory space are there any parameters in SAP/DB that also need to be adjusted according to the amount of memory space(hardware) added?
    Regards,
    Arindam

  • Why do shortcuts change after an upgrade?

    Dear Apple-Employees,
    I like my Mac and I wouldn't trade it, but just recently bought a new one, and thus need to get used to Mavericks. I just have a very essential question that's on my mind - WHY do you change your shortcuts for e.g. Mail with the next OS?
    I don't get it, but I'd really like to know your reasoning. "Send" used to be cmd+enter - WHY change to shift+cmd+D?
    Thanks for letting me know
    Sincerly,
    Kaddy
    PS: Apologies for this, but I seriously think that little shortcuts that simplify the process and have been gotten used to shoud not be changed.

    hello, is the message coming from fireofx itself? if so, please see [[Firefox says it's just updated every time it starts - how to fix]]
    this however may also be a scam tactic that is trying to trick you into installing malware! only download firefox from its official location at mozilla.org - in addition updates are handled automatically by firefox so you don't have to download anything (you can initiate a check for ''updates in firefox > help > about firefox'').
    you might also want to run a full scan of your system with the security software already in place and different tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes], [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner] & [http://www.kaspersky.com/security-scan kaspersky security scan] in order to make sure that there isn't already some sort of malware active on your system that triggers these false alerts.
    [[Troubleshoot Firefox issues caused by malware]]

  • ME2L screen change after version upgrade.

    Hi All,
    We are currently going through a version upgrade.( ECC 5.0 to ECC 6.0; AFS 5.0 to AFS 6.5)  In ME2L report I can't see the descriptions of below fields.
    AFS_SIZE
    AFS_SCAT
    In old version I can see the descriptions.
    AFS Dimension
    AFS Stock Category
    What can be the reason? Please advice.
    Regards,
    Jeewana

    It could be that you modified the data type yourself and with the SPAU it is now reset to the standard and again without proper labels.
    check in SE11, enter your AFS_SIZE into the data type field, move the radio button as well to that field, then click display and goto the lfield label tab.
    Are there all 4 field labels defined in your language?
    if not check via Menu Utilities > Versions if you got a new  version with the upgrade.

Maybe you are looking for

  • While creating a PO in ME21N the return check box is automatically ticked.

    Hi SAP Gurus, I am facing a problem while creating a PO. Every time I am trying to create a PO in ME21N, the return check box at the Item level of the PO is automatically getting ticked. The check box can't be unticked even in change mode of the PO.

  • ORDERS05 incorrectly pushing the XVBAP-EAN11 onto screen-field VBAP-MATNR

    Hello, For an inbound sales order (IDoc, basic type ORDERS05) I am passing EAN of materials on E1EDP19-IDTNR with qualfier 003. SAP understands that this is not the SAP-matnr, but is the EAN. Hence, SAP correctly populates the XVBAP-EAN11  -- refer L

  • Change Cost Center Valid To Date

    Hi, I want to change cost center valid To date. Please let me know which t code I use for that. Thanks in advance. Thanks & Regards, Hemant Maurya

  • Junction box vs master socket

    Hello, Can someone please advise if I have an old-style junction box which is then further wired to the main socket? http://www.flickr.com/photos/8237236@N02/4655471945/in/dateposted?edited=1 http://farm5.static.flickr.com/4066/4655471945_ddd1307b82_

  • Bluetooth files lost

    After transferring video files via Bluetooth i can not locate them anywhere on Nokia lumia 920 even though when file is completed downloading it shows 'saved'. My question is saved where and how do i now access them?