Generating certificate with predefined certificate SerialNumber field

Hi!
I need to generate certificate (programmatically or using keytool), which should contain predefined serial number in. F.e.:, after generating certificate we see:
Owner: CN=SomeBody, O=SomeBody.com, L=A, C=B
Issuer: CN=SomeBody, O=SomeBody.com, L=A, C=B
Serial number: 25fca39d
Valid from: Fri Feb 13 12:15:09 EET 2004 until: Sat Feb 12 12:15:09 EET 2005
Certificate fingerprints:
         MD5:  87:41:93:58:71:7C:DC:59:50:F2:79:92:86:CC:0A:8C
         SHA1: 24:2B:27:6B:17:AB:9B:6D:1D:6D:4F:A0:D9:CA:42:AC:51:5D:6A:54Field "Serial number" should be predefined. Am I able to do this?
Thanks.

keytool doesn't seem to do it, and Java doesn't really offer much help in programmatically creating certificates at all.
However, at least glancing at the documentation, the bouncycastle (http://www.bouncycastle.org ) provider seems to have this capability. See for example the classes
org.bouncycastle.x509.X509V1CertificateGenerator and org.bouncycastle.x509.X509V3CertificateGenerator

Similar Messages

  • Field with predefined values (F4 field) in sales order

    My customer needs to enter data in sales order and then filter/sort on it in VA04/VA05 and currently uses field "Name" in the header but this is is text field and errors occur. Is there another field, where list of values can be predefined (field with F4 possible values) that can be used in the sales order?

    Hi
    Please, see these notes
    SAP Note 549438 - FAQ: Search help for the sales order
    SAP Note 389876 - Search help for sales order items
    When you define your own elementary search helps you have a field to populate the 'default value' (see it in tcode SE11)
    Regards
    Eduardo

  • Generate certificates valid for smart card (Windows logon) with third party PKI (not Microsoft)

    Hello everyone
    today I am working on a mounted on a Red Hat Enterprise PKI
    Linux Server release 5.5 (Tikanga) is Easycert 5.2.2.15. We need to know what are the necessary data that we have to go to the PKI so it can generate certificates of users in Active Directory for use with a USB Token (ACOS5-64 CHIP CRYPTO) functioning as Smart
    Card to make the login of users on computers.
    On the other hand also we need to know the necessary settings between the third party pki and the domains controllers (Windows 2012).
    Greetings and I hope for you response.
    TechCach

    > It is for Windows 2012.
    nothing changed since Windows Server 2003. Here is a KB article:
    http://support2.microsoft.com/kb/281245
    > Is
    the
    scenario
    supported
    by
    microsoft?
    yes, of course. See KB article above.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • Self Generated certificate validity issue in ACS 4.0 for Windows

    Hi,
    Is there any solution to extend the validity time of self generated certificate on ACS, by default the validity is set for one year.
    As the server certificate on one of the ACS which is CA has expired and need to renew it.
    Is it possible only one certificate from third party can be used both as a server certificate and certificate from CA for other ACS servers.
    Thanks in Advance
    Regards,
    Ahmed

    Other solution would be to create an in house(Microsoft probably) CA, and get a certificate for your ACS server. Go through the installation steps of Microsoft CA before, as the validity date for Server Certificate(i guess) is configured during initial install of CA.
    Regards,
    Prem

  • Generate a PDF from Excel with a Digital Signature Field?

    Hello,
    I have an excel workbook that is filled out weekly- I then have to generate a PDF with a digital signature field for a manager to sign (vouching for the data).  I currently have to manually generate the PDF and then manually add a digital signature field.  Is there any way to generate the PDF from excel with a digital signature field that can then be signed?
    Thanks for any help
    -Nathan

    Moved to Acrobat forum.

  • [JHS 10.1.3.0.59] Error when generating Group with Display fields

    Do you already know this error in JAG when generating groups that contain items with display type 'display field'? Or am I doing anything wrong?
    [LovOrganizationTable.jspx, default/item/table/tableDisplayField.vm] Velocity log [error] ResourceManager : unable to find resource 'default/item/table/tableDisplayField.vm' in any resource loader.
    Toine

    Toine,
    Thanks for reporting, we should remove displayField from the list of dislay types. If you want a read-only field in 10.1.3, you can choose the proper display type, and then set "Insert Allowed" and "Update Allowed" properties to false.
    Steven Davelaar,
    JHeadstart Team.

  • Need to generate PDF file from OAF with "n" number of fields

    Hi All,
    I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
    Example Scenario I
    Emp No | Emp Name | Dept No | Job |
    11 | Abc | 10 | MGR |
    Example Scenario II
    Emp No | Emp Name |
    11 | Abc |
    Please let me know if any one know how to go about it.
    Thanks in advance,
    Arvin
    Edited by: user636850 on Jan 26, 2011 6:11 AM

    Hi All,
    I have a requirement in OAF to generate PDF file with n number of fields in PDF output. PDF output could have some times 2 fields or 3 fields or 7 fields too in some condition and it will be based on one parameter. This output will be looks like below given scenarios:
    Example Scenario I
    Emp No | Emp Name | Dept No | Job |
    11 | Abc | 10 | MGR |
    Example Scenario II
    Emp No | Emp Name |
    11 | Abc |
    Please let me know if any one know how to go about it.
    Thanks in advance,
    Arvin
    Edited by: user636850 on Jan 26, 2011 6:11 AM

  • How do I generate URL with multiple variables from input fields?

    I'm creating an ad with four input text fields labels fname, lname, city and prov, and I wanted to know how to generate URLs based on information entered into the fields. The text fields default to display "First Name," "Last Name," "City" and "State," respectively, but if a user does not enter information in those fields, I want the URL to behave as if those were empty, if that makes sense. The text fields are in a movie clip called "input_text" and the button is labeled "send". If any of you can provide insight, I would be greatly appreciative. Thank you.

    1. use if-statements to see if the text properties of your textfields meets your requirements for creating that url.
    2. you can use the flash string methods and properties to create your url.
    p.s.  the plus sign + can be used to concatenate strings.

  • Can i generate certificates using java api

    can i generate certificates signed by my private key using java API.
    I found cetificatFactory must generate a certificate from a file,
    but how can i generate this file?
    Thanks

    visit :
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jarsigner.html
    http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
    u can create ur own certificate
    Edward

  • Install self generated certificates

    Hi all,
    Can anyone advise on how to install a self generated certificates as a trusted server/client server?
    Regards
    Ken

    Hi Ken,
    Which version of WebServer are you using?
    The following docs for WebServer 6.1 sp5 gives all of the information that you should need about installing certificates:
    http://docs.sun.com/source/819-0130/agcert.html#wp1004981
    Hope this helps

  • Problem with flow of expandable fields

    Hi everyone,
    I have important problem with flow of expandable fields in table in dynamic PDF form. The issue I am talking about you can see at the top of column 3 on page 2 in PDF in link below.
    Here is uploaded PDF form and sample XML data (form has import button and is ReaderExtended that you can easily test it and see my problem):
    http://www.speedyshare.com/718224676.html
    Generally I have created table with 3 columns using Table object (each field has allow multiple lines selected and expand to fit).  It is closed in FormBody subform which is flowed subform.
    Row in table is repeatable and has “is allow to break page” setting set on.
    Sometimes when there is a lot of text and row page break there is problem with flow.
    For example text from one rows overlaps on text from next row.
    I tried to solve this problem by changing row height, indents, font size, line spacing but always when I thought that I have fixed it  I got another data which generated the same flow problem.
    Did anyone met this problem earlier and found solution to this issue? This is really important for me and I am really in dead end so any hints would be really helpful.
    I am using Adobe Livecycle Designer 8.1 and PDF form target is 8.
    I really appreciate any help in this problem.
    Thanks,
    Kamil Dłutowski

    I posted link to my form in my first post.
    Here it is: http://www.speedyshare.com/718224676.html

  • Issue with the new COPA field added into the BBSEG Structure

    Hello All,
    I have an issue with the new COPA field added into the BBSEG Structure.
    I think its added becuase of test Operationa Conern Created by somebody.
    Can you please let me know how to remove that structure from BBSEG Structure.
    Thanks
    vsr

    Hi Monohar & Ankur,
      Thanks for your answers..
      main issue is suddenly new field called RKE_COPA_KOSTL has  been added to the BBESG Structure..
      Because of this RFBIBL00 Upload is not working. I heard that  this new fields will come by generating Operating Concerns by Transaction KEA0.I found an operating concern which was created as a test in developemt system..
      But I am not sure how to delete that operating concern.Even i am not sure if we delete the Operating Concern ..is it going to delete that field in BBESG Structure or not??
    Please advise me..
    Thanks
    sathi

  • EBS-R12 Generate XML (with data) from Embedded Data Definition

    Hi
    I'm new to running XMLP/BIP in EBS.
    I have found the extensive set of data definitions and templates in EBS and they work great out of the box.
    I, however, need to make template modifications.
    To this end, a correctly structured XML data template - containing all the data fields - is needed for loading into the template-builder in Word.
    If for example I take the embedded R12 data definition - XLAJELINESRPT.xml - for Posted Payable Invoices, and load it into the template builder, it provides the structure of the data template and not the structure of the output XML data.
    I have tried several ways to run the Data definition through XMLP using the concurrent manager attempting to intercept the generated XML (with data) but it either completes the process and uses the linked output template - producing the PDF - or other output - or if I remove the (output template altogether) it fails with an error.
    Maybe I'm missing an obvious step, but there has to be a way of taking the very comprehensive Data Definitions embedded in R12 EBS and using them in custom report templates.
    If I've totally missed the point, please give me the steps to follow.
    Many thaks in anticipation.
    Mike MacMurray

    HI Mike,
    You cannot load your Data Template into the MS Word Template Builder plugin, as it cannot be run to generate XML this way.
    You have two options to get the data from an XML Publisher Report run as a concurrent program in EBS.
    1) Using the XML Publisher Administrator responsibility, set an end date for both the Data Defintion and Template Definitions associated with the XLAJELINESRPT report.
    2) Leave the concurrent program, Data Defintions and Template Definitions exactly as they are and run the report. Once the report has completed, select the Concurrent Request, click "Diagnostics" then click "View XML". This will open the XML in a new browser window. You can then right click, View Source and then save this document locally.
    You can then load this XML into the MS Word Template Builder and start building your template.
    I hope this helps.
    Regards,
    Cj

  • Not able to create a table with more than 64 fields in dictionary

    Hi,
    I have created a java dictionary in Netweaver Developer studio. I have to create a table with more than 64 fields in it. I was able to create the table in dictionary, but when i tried to build it, I am getting an error message as "more than 64 fields are not allowed". If i create the table with 64 fields or below 64 fields, i can build the dictionary and deploy it.
    That is, when i create a table with more than 64 fieds, I am not able to compile the dictionary, But if i reduce the fields to 64 or below, i can compile the dictionary.
    Kindly help me to solve the problem.
    Regards,
    Sudheesh

    Hi,
    Sudheesh,as far as I am aware creating of fields in the table actually depends on the total width of table that can be used for various Vendors.
    So I actually tried out creating a table with too many fields,and I am reproducing the errors which I have obtained -
    <i>Error               Dictionary Generation: <b>DB2:checkWidth TMP_1: total width of table (198198 bytes) greater than allowed maximum (32696 bytes)</b>     TMP_1.dtdbtable     TestDictionary/src/packages     
    Error               Dictionary Generation: <b>DB4:Table TMP_1: fixed length: 198366 (32767).</b>     TMP_1.dtdbtable     TestDictionary/src/packages     
    Error               Dictionary Generation: <b>DB6:checkWidth TMP_1: total width of table (297200) including row overhead is greater than the allowed maximum for 16K tablespaces .</b>     TMP_1.dtdbtable     TestDictionary/src/packages     
    Error               Dictionary Generation: <b>MSSQL:checkWidth TMP_1: total width(198215) greater than allowed maximum (8060)</b>     TMP_1.dtdbtable     TestDictionary/src/packages     
    Error               Dictionary Generation: <b>SAPDB:checkWidth TMP_1: total width(198297) greater than allowed maximum (8088)</b>     TMP_1.dtdbtable     TestDictionary/src/packages     
    Error               Dictionary Generation: Table TMP_1 is not generated     TMP_1.dtdbtable     TestDictionary/src/packages     </i>
    I hope you can understand what the errors state.I am trying to create a table whose total width(sum of width all columns) is greater than the maximum allowed for various Vendors,such as DB2,MSSQL,SAPDB etc.
    I hope this answer helps you create your table suitably
    Regards,
    Harish
    (Please award points if this answer has been usefull)

  • Document splitting generates lines with alternating +/- signs

    Hi,
    While trying to post GR through MIRO, I am getting a message like "Document splitting generates lines with alternating +/- signs", please clarify why this error is coming.
    But I am able to post the moment I am deleting a small amount from planned delivery cost field. Why this is happening, can anyone explain pls.
    Regards,
    Ab

    Hi
    We have the same message but we want to clear two FI invoices
    Did you ever find out what caused this message?
    Regards
    Paddi

Maybe you are looking for

  • Enhance OM infotype

    Hi I want to enhance infotype 1050 with a note. Could anyone explain (just in short) how i could do that? I can imagine how to enhance with a single entry field - but in this case i want a note (like in 1002 or something like that). Is there an easy

  • Quicktime Error Disconnected (-3285)

    i have installed QT Broadcaster 1.5.1 and latest QT release (Sept 18th 2006) i want to record my information straight to disk and play later have followed the help directions from the apple online manual to no avaial. the system says - starting broad

  • HT4796 Migration assistant stopped

    Migration assistant stopped working as the PC info was being transferred from was turned off during the migration and now I can't restart it with the screen on the Mac showing transfer progress being frozen and on the PC it says it can't find the Mac

  • Unable to open XServer [Resource temporarily unavailable] systemctl

    How do I allow programs/scripts that I've written access the current x session when it's a systemd service? Here are the scripts in question: https://github.com/boogerlad/ready2sleep I did this: https://wiki.archlinux.org/index.php/Sy - er#DISPLAY Bu

  • Nothing loads on Macbook air since updating new software?

    Hi everyone Sorry if this has already come up but there is heaps of stuff on here and not sure where to start..  Just briefly, since I have update my Macbook Air with new software (yesterday) my mail won't load and just crashes, I can't even open ime