<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dani Jimenez on Medium]]></title>
        <description><![CDATA[Stories by Dani Jimenez on Medium]]></description>
        <link>https://medium.com/@dani.jimenez?source=rss-7d9fe5e291e2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*fvQhMO_vrsdJiosI.jpg</url>
            <title>Stories by Dani Jimenez on Medium</title>
            <link>https://medium.com/@dani.jimenez?source=rss-7d9fe5e291e2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 09:26:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@dani.jimenez/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How we built a PKI and a TSA and got them certified in 6 months
Part 3: Time Stamping Authority]]></title>
            <link>https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-3-time-stamping-authority-c8ebc228d64b?source=rss-7d9fe5e291e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8ebc228d64b</guid>
            <category><![CDATA[timestamp]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Dani Jimenez]]></dc:creator>
            <pubDate>Thu, 28 Feb 2019 08:58:18 GMT</pubDate>
            <atom:updated>2019-02-28T08:58:18.003Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How we built a PKI and a TSA and got them certified in 6 months<br>Part 4: Time Stamping Authority</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*O09Y7IEQUiGvXJLm_BCVjQ.png" /></figure><p>[<a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-1-context-and-problem-9db07f290aac">Part 1</a>, <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-2-requirements-9a1e9b48abd3">Part 2</a>, <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-3-public-key-infrastructure-75f11867399c">Part 3</a>]</p><p>We got to the final monster! The one that will make us battle the most. But don’t worry, we’ll find some good weapons along the way…</p><p><strong>What do we have to build exactly?</strong></p><p>In <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-1-context-and-problem-9db07f290aac">Part 1</a> of this blog post we already talked about how a Timestamping Authority works.<br> But, is there some standard that specifies the communication protocol?</p><p>There is!</p><p>There’s an RFC, more precisely <a href="https://www.ietf.org/rfc/rfc3161.txt"><em>RFC 3161 Internet X.509 Public Key Infrastructure: Time-Stamp Protocol (TSP)</em></a>, which specifies the protocol and data structures to use when communicating with a TSA.</p><p>Data structures, including time stamp requests and responses are specified as <a href="https://en.wikipedia.org/wiki/Abstract_Syntax_Notation_One">ASN.1</a> encoded messages, which is a type of encoding widely used in cryptography.</p><p>Implementing all the ASN.1 data structures specified in the RFC would have taken us some time…</p><p>Fortunately for us, the guys from the <a href="https://www.bouncycastle.org/java.html"><em>Legion of Bouncy Castle Inc.</em></a><em> </em>have got us covered. They provide a wide variety of cryptographic APIs and tools, including one which implements all data structures related with time stamping complying with RFC 3161.</p><p>Bouncy Castle libraries are provided for Java and C# programming languages. Because I had way more experience in Java and I know the language has a pretty good Cryptographic API with the JCA/JCE, this was the chosen option.</p><p>So we already have:</p><ul><li>In/Out service interface specifications</li><li>Data structures</li><li>Programming language</li></ul><p>Let’s keep going…</p><p><strong>Infrastructure</strong></p><p>As any other application, our TSA has to communicate with a list of external services including in this case the database and the Hardware Security Module (HSM).</p><p>We will focus on the communication with the HSM and how that’s performed from the application logic all the way to the hardware device deployed in the data center.</p><p>Our application is written in Java, therefore cryptographic operations rely on the <a href="https://docs.oracle.com/javase/7/docs/technotes/guides/security/crypto/CryptoSpec.html">Java Cryptographic Api (JCA)</a>.</p><p>The way the JCA works is it relies on Java Cryptographic Providers. A provider is an implementation of the JCA spec. One provider might not implement every method specified in the JCA.</p><p>For example the SunEC provider will implement cryptographic operations related to <a href="https://en.wikipedia.org/wiki/Elliptic-curve_cryptography">Elliptic Curve Cryptography</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/376/1*hc2_NFhJIexJIo_zEZpB-g.png" /><figcaption>oracle.com</figcaption></figure><p>Out of these Java Cryptographic Providers there’s one which is a special case. It’s the Java SunPKCS11 provider.</p><p>First of all, what is PKCS#11?</p><p><a href="https://en.wikipedia.org/wiki/PKCS_11">PKCS#11</a>, also kown as <em>“Cryptoki”, </em>is an application programming interface to communicate with cryptographic tokens in order to manage keys and perform cryptographic operations. It’s a very common interface to comply with for Hardware Security Modules and Smart cards.</p><p>So, in this case, the SunPKCS11 provider does not implement any JCA operation itself, instead it acts as a wrapper loading a third party PKCS#11 library implementation.</p><p>As we said in <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-2-requirements-9a1e9b48abd3">part 2</a> of this blog post, the HSM that we purchased was provided with a PKCS#11 library, that is the HSM manufacturer’s implementation of the PKCS#11 interface. This way we can use the Java JCA along with the SunPKCS11 provider to load the library provided by the HSM vendor in order to communicate with the HSM.</p><p>Here is the whole picture:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/563/1*76zUdBIwrGNd93zvpAQW3A.png" /></figure><p>If you read <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-2-requirements-9a1e9b48abd3">part 2</a> of this blog post, you might be thinking…</p><p><em>- But wait, didn’t the HSM vendor provide a JCA Provider implementation already? So why not use that directly instead of using an added abstraction layer with the PKCS#11 interface?</em></p><p>You’re right, but here is why…</p><p>In Signaturit we have different environments:</p><ul><li><em>Develop</em>, which can be the developer’s own computer when implementing a new functionality for the TSA, or even when modifying a service that has to interact with the TSA.</li><li><em>QA environment</em>, where most of the testing is done.</li><li><em>Sandbox, </em>which is a sort of <em>pre-production</em> environment using same infrastructure as PROD but different data.</li><li><em>Production</em>, the environment that the end users get to interact with.</li></ul><p>It would be a bad decision to use the HSM for every environment, plus, making the HSM available from each one of these environments would not be a savvy decision in terms of security.</p><p>So, how can we “mock” the Hardware Security Module so a developer can interact with it or with the TSA without having direct connection with the hardware?</p><p>There are different options to do this. For example we could have switched between the HSM’s JCA provider and one of Java’s default, or even implemented our own mock JCA provider.</p><p>Our decision was to stick with PKCS#11 interface, as it’s an industry standard, and depending on the environment load the HSM vendor’s PKCS#11 implementation library, or the mock version.</p><p>But where do we find a “mock” implementation version of the PKCS#11 interface? Do we implement it ourselves?</p><p>Luckily, the guys from <a href="https://www.opendnssec.org/">Open DNSSEC</a> had already solved our path. They developed a software based PKCS#11 implementation which is called <a href="https://www.opendnssec.org/softhsm/">SoftHSM</a>.</p><p>With this we could switch from the software based implementation to the hardware solution dynamically loading one library or another.</p><p><strong>Deployment</strong></p><p>Our application is a Java 8 application using Spring Boot framework.</p><p>If you remember, we needed a middleware software provided by the HSM vendor to perform the ultimate communication with the HSM through the network. This middleware had to be installed over an O.S, so,because we’re using AWS, that pretty much imposed us to use Docker containers (no lambda function implementation possible).</p><p>More precisely we’re using <a href="https://en.wikipedia.org/wiki/Docker_%28software%29">Docker</a> containers with <a href="https://aws.amazon.com/ec2/">EC2</a> instances and <a href="https://aws.amazon.com/ecs/">ECS</a> orchestrator.</p><p>The communication between our application and the HSM placed in the data center is performed through a VPN established from the AWS VPC and our network deployed in the data center.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T6FyC-PaXioHB6opCueoIg.png" /></figure><p><strong>Time synchronization</strong></p><p>Time synchronization is a critical aspect for a Time Stamping Authority. Remember that a time stamp is performed applying a digital signature to some data (usually a hash of the original data) along with a time reference.</p><p>This time reference must come from a trusted source. For some documents a time deviation for the moment on which they were signed can be critical.</p><p>So how do we make sure our time reference is correct?</p><p>We use <a href="https://en.wikipedia.org/wiki/Network_Time_Protocol">Network Time Protocol (NTP)</a>. NTP is a protocol for clock synchronization between computers.</p><p>I won’t go too deep into NTP details because it’s a pretty complex subject itself and we could write a whole blog post about it, but if you have any questions, for example an explanation of the stratums hierarchy, don’t hesitate to write them in the comment’s section and I’ll do my best to answer them.</p><p>As we already mentioned, our application runs in a docker container which is deployed in AWS, so it runs inside an EC2 machine. For each docker container its time is synchronized with the host’s time, that means with the EC2 machine’s time.</p><p>What we have done is we have set up a service called <a href="https://chrony.tuxfamily.org/">chrony</a> in the EC2 machine. This service, chrony, has been configured with a list of trusted NTP servers that are geographically close to Dublin, which is the AWS region we use. If working properly, the service maintains the EC2 machine and Docker containers time synchronized with UTC time within a deviation of milliseconds.</p><p>Unfortunately the synchronization for the EC2 host is not enough. The ETSI documents regarding <em>Policy and Security Requirements for Trust Service Providers issuing Time-Stamps </em>states that if a time deviation over one second is detected, the Time Stamping Authority must not issue any time stamp.</p><p>So besides the time synchronization performed at the O.S. level, we needed to have a synchronization process performed at the application level, and if a deviation bigger than one second is detected, the TSA service is stopped, no time stamps are issued and an alert is raised to trusted personnel.</p><p><strong>Audit generation</strong></p><p>The ETSI documentation requires the TSA to generate audit data for certain events.</p><p>In the case of the <em>Time Stamping Unit (TSU)</em>, which is the ultimate application instance that performs the time stamps, these events are mainly two:</p><ul><li>Time synchronization event</li><li>Time Stamp issuance event</li></ul><p>The data recorded for a time synchronization event is:</p><ul><li><em>id</em>: Auto increment id for the row</li><li><em>action</em>: Enum type indicating if the result of the synchronization was correct or incorrect</li><li><em>accuracy</em>: The accuracy of the deviation from UTC time calculated during that synchronization event</li><li><em>message</em>: “OK” or error message indicating the reason for the incorrect synchronization</li><li><em>time</em>: Insert time for the audit registry</li><li><em>host</em>: Host name of the machine that performed the synchronization</li><li><em>mac</em>: Message Authentication Code for the audit registry (we’ll talk about this in a moment)</li></ul><p>The data recorded for a time stamp issuance event is:</p><ul><li><em>id</em>: Auto increment id for the row</li><li><em>action</em>: Time Stamp request result as defined in RFC 3161 (<em>granted, granted with mods, rejected, waiting, revocation warning, revocation notification</em>)</li><li><em>serial</em>: Serial for the issued time stamp</li><li><em>timestamp_response</em>: The whole ASN.1 encoded time stamp token</li><li><em>time</em>: Insert time for the audit registry</li><li><em>host</em>: Host name of the machine that performed the issuance</li><li><em>mac</em>: Message Authentication Code for the audit registry</li></ul><p>Because time stamps are performed on previously hashed data, there are no privacy considerations regarding the input data included in the time stamp response that’s stored.</p><p>Another restriction that the ETSI documentations specifies is that audit registries shall be protected to ensure their integrity.</p><p>The way we do that is we use a <a href="https://en.wikipedia.org/wiki/Message_authentication_code">Message Authentication Code</a>. A MAC function is a “keyed function” that generates a tag from the given input data. That generated tag can be used to verify the input data’s integrity and authenticity.</p><p>The key used to generate that MAC is a symmetric key which is stored in the HSM.</p><p><strong>Certification</strong></p><p>After all the work done and all the decisions taken, it was time to face the audit process to become a <em>Qualified Trust Service Provider </em>issuing<em> Qualified Time Stamps.</em></p><p>Ultimately the audit process was successfully passed and <em>Signaturit</em> was included in the <a href="https://webgate.ec.europa.eu/tl-browser/#/tl/ES/28">European Union Trusted List</a>.</p><p>So that’s it! We finished the last part of the blog post.<br>Thank you for reading!</p><h4>About Signaturit</h4><p><a href="https://www.signaturit.com/en">Signaturit </a>is a trust service provider that offers innovative solutions in the field of electronic signatures (eSignatures), certified registered delivery (eDelivery) and electronic identification (EID).</p><h4>Open Positions</h4><p>We are always looking for talented people who share our vision and want to join our international team in sunny Barcelona :) Be a SignaBuddy &gt; <a href="https://www.signaturit.com/en/jobs">jobs</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8ebc228d64b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-3-time-stamping-authority-c8ebc228d64b">How we built a PKI and a TSA and got them certified in 6 months
Part 3: Time Stamping Authority</a> was originally published in <a href="https://medium.com/signaturit-tech-blog">Signaturit Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we built a PKI and a TSA and got them certified in 6 months
Part 3: Public Key Infrastructure]]></title>
            <link>https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-3-public-key-infrastructure-75f11867399c?source=rss-7d9fe5e291e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/75f11867399c</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[hardware-security-module]]></category>
            <category><![CDATA[windows-server-2016]]></category>
            <category><![CDATA[public-key-infrastructure]]></category>
            <category><![CDATA[cryptography]]></category>
            <dc:creator><![CDATA[Dani Jimenez]]></dc:creator>
            <pubDate>Wed, 27 Feb 2019 08:20:48 GMT</pubDate>
            <atom:updated>2019-02-27T08:20:48.334Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FnNDQC2UiJtRtiw3KQoMjw.png" /></figure><p>Wait! Did you read part 1 and 2 of this blog post already?<br>If you didn’t, you can do it now: <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-1-context-and-problem-9db07f290aac">Part 1</a>; <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-2-requirements-9a1e9b48abd3">Part 2</a></p><p>If you read first two parts of this blog post, you probably remember that after analyzing the ETSI documents for the eIDAS regulation we concluded that we had to build a <a href="https://en.wikipedia.org/wiki/Public_key_infrastructure">Public Key Infrastructure (PKI)</a> before building a Time Stamping Authority.</p><p>But why did we need to build a PKI?</p><ul><li>The ultimate goal is to be able to generate digital time stamps.</li><li>A time stamp is basically a digital signature performed on a given data plus a trusted time reference.</li><li>Because a time stamp is essentially a digital signature, it is performed by a pair of <a href="https://en.wikipedia.org/wiki/Public-key_cryptography">asymmetric keys</a>.</li><li>Along with this pair of asymmetric keys, we need a digital certificate that’s associated with the public key (and therefore with the private key) that proves that the identity of its owner is the <em>Signaturit TSA.</em></li><li>Because we want to issue <em>Qualified Time Stamps</em>, there’s an extra requirement stating that to be considered as <em>Qualified</em>, the private key that performs the digital signatures must’ve been generated and kept protected by a <em>QSCD</em>.</li></ul><p>These are all the reasons that explain why we had to build our own PKI so we could generate and issue our own TSA key pair and certificate keeping the private key safeguarded inside the HSM so we could issue <em>Qualified Time Stamps</em>.</p><p><strong><em>Building a PKI…</em></strong></p><p>Before starting to put pieces together we must analyze our needs and design a PKI according to these so we don’t take false steps during the implementation part.</p><h3><strong>Design</strong></h3><p><strong>Physical Design</strong></p><p><em>Architecture</em><br>PKIs are build following a hierarchical construction structured in tiers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*j_4J30hEkqH2uSJxaHNKgA.png" /></figure><p>The first tier corresponds to the Root Certification Authority, which is the only mandatory element to build a PKI. You could build a PKI composed only by the Root CA. Any other component of a PKI “extends” from this one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*ejqWO82NVpth8Fs237nCfw.png" /></figure><p>A two tier PKI is composed by the Root CA, which would typically be offline for security reasons in this case, and <em>N</em> Issuing Certification Authorities, which would be the ones responsible for the certificate issuance to “end users”.</p><p>The way this works is each issuing CA has a key pair and a certificate that it uses to sign the certificates it issues. The certificates for each issuing CA have been signed by the Root CA. So there’s a trust relationship established stating that the Root CA trusts and allows the <em>N</em> issuing Certification Authorities to issue the “end user” certificates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*WsIU0_4Vd6ZiSuwxndS_Wg.png" /></figure><p>In the case of a three tier PKI, we would have one root CA, as always, which will be offline. <em>N </em>Policy Intermediate Certification Authorities, the certificates from which have been issued by the root CA. These <em>Policy CAs </em>would typically be kept offline. And <em>N Issuing CAs </em>which would be the ones responsible to issue the end user certificates.<br> As with the two tier PKI, in the three tier PKI each inferior level CA certificate has been issued by the upper level CA, establishing a hierarchical relationship of trust.</p><p>In our case we decided to go for a two tier PKI, which is a compromise between security (the root CA which is the PKI’s key element would be kept offline) and functionality and usage of resources.</p><p>Other architectures are perfectly valid depending on the organization’s security needs and amount of activity for the issuing Certification Authorities.</p><p><em>Hardware Infrastructure</em></p><p>We have decided which PKI architecture we’re going to use, now we have to plan how many machines we’re going to need and what services will each one host.</p><p>In our case we decided to have one physical server and deploy the PKI machines as Virtual Machines inside the server so we could have an easier management of each one of them, including snapshots, backups etc.</p><p>The physical server would be deployed in the data center we had recently rented, so each VM (configured with a bridge network adapter) would be on the same network as the Hardware Security Module.</p><p>So our current planned infrastructure was composed by:</p><ul><li>VM for the Root CA</li><li>VM for the issuing CA</li><li>VM that will host the OCSP service and the web server publishing the CRLs and PKI certificates and documentation</li></ul><p><strong>Security<br></strong><em>Private Key Protection</em></p><p>In our case we purchased an HSM specifically to guarantee the PKI private keys protection.</p><p>In order to achieve this we’ll have to configure each Certification Authority to use the HSM as their key store. We’ll talk more about this when we discuss the software used for the PKI’s Certification Authorities.</p><p>Additionally, we have set up an extra protection measure for the Root CA private key. In our case, the HSM model that we purchased has support for <em>card set protection</em>.</p><p>The way <em>card set protection </em>works is you specify a quorum of <em>N/K</em> where:</p><ul><li><em>N</em> is the total amount of smart cards that you assign to N employees</li><li><em>K</em> (being K &lt;= N) is the number of smart cards that you are required to use to unlock the private key that’s protected using <em>card set protection</em></li></ul><p>In our case we created a quorum of 5/3 for our Root CA private key protection. That means that for each operation that needs access to the CA private key (e.g.: certificate or CRL issuance), three out of the five employees who were given a smart card must collaborate.</p><p><em>Role Separation</em></p><p>It’s a good practice to establish different roles to manage the PKI. One user should not have more than one role.</p><p>In our case we have defined the following roles:</p><ul><li>CA Administrators: Manage general CA configuration</li><li>Certificate Managers: Manage CA certificate templates</li><li>CA Backup operators: Are allowed to copy and restore sensitive directories and files</li><li>CA Auditors: Responsible to review the CA logs and activity</li></ul><p><em>Physical Security</em></p><p>In our case, because we rented a rack inside a data center, the physical security measures are delegated to the ones provided by the data center itself, so if it complies with some physical security standards you are covered.</p><p><strong>CA Configuration<br></strong><em>Certificate Validity Period</em></p><p>Choosing the appropriate certificate lifetime for Certification Authorities is a key aspect for which we have to take into account two key points:</p><ul><li>A lifetime too large provides bigger span of time for the private key to be compromised, and the longer the lifetime is, more certificates would become untrusted in that case.</li><li>A lifetime too short is useless considering that issued certificates lifetime can not extend beyond CA’s certificate lifetime</li></ul><p>We have to choose a certificate lifetime that’s a compromise between functionality and security.</p><p>In our case we decided to set root CA’s certificate lifetime to 20 years and issuing CA to 10 years, which are pretty standard numbers. The issuing CA’s certificate would be renewed at the 5 year mark and the root CA at the 10 year mark.</p><p><em>Key Length</em></p><p>Choosing an appropriate key length for current security standards is a key aspect in the design of a PKI. Usually the <a href="https://www.nist.gov/"><em>National Institute of Standards and Technology (NIST)</em></a> is a good source of reference for information about this matter.</p><p>In our case, because we’re using <a href="https://en.wikipedia.org/wiki/RSA_(cryptosystem)">RSA</a> keys, we chose 4096 bit keys for both root and issuing CAs. 2046 bit keys could have been a possible option but we’re better off with a higher security level, specially considering the lifetime of CA certificates. In case of RSA, 1024 bit keys would have been an option with insufficient security level, and not only for CA keys.</p><p>If you’re using <a href="https://en.wikipedia.org/wiki/Elliptic-curve_cryptography">EC</a> keys, you’re probably good choosing 384 bit keys.</p><p><em>AIA Location</em></p><p>AIA stands for <em>Authority Information Access</em>, and it points to a repository from where CA certificates can be downloaded by clients when validating end user certificates.</p><p>This information shall be specified in every certificate issued by the CA.</p><p>In our case we set up a web server to host the PKI certificates at:<br> <a href="https://pki.signaturit.com/cert/">https://pki.signaturit.com/cert/</a></p><p><em>CDP Location</em></p><p>As with AIA, CDP is another attribute that’s also specified in every certificate issued by the CA. In this case it stands for <em>CRL Distribution Point</em>, and, as the name indicates, it points to a repository from which CA’s CRLs can be downloaded.</p><p>A CRL is a list of the certificates that have been revoked by the CA, and it’s a required element when validating CA’s issued certificates (unless your querying the OCSP service directly).</p><p><em>CRL Validity</em></p><p><em>Certificate Revocation Lists</em> also have an specific lifetime on which they’re valid. This span of time will depend upon the CA’s activity. A CA that’s expected to issue a huge number of certificates will have to renew he CRLs more often. Instead, a CA which has very low activity might issue a new CRL only once a year.</p><p>In our case we set the root CA CRL lifetime to one year, as it only issues certificates to intermediate CAs.</p><p>For the issuing CA we set the CRL lifetime to one week, as it’s expected to only issue the TSA certificates (the certificate that’s used when performing digital timestamps).</p><p><em>Delta CRL</em></p><p>A delta CRL is another type of CRL that’s issued in between base CRL renewals. For example, we could set a base CRL to renew weekly and a delta CRL to be issued daily.</p><p>Delta CRLs are not a mandatory feature to implement. In our case, the root CA does not use delta CRL because of its low activity. For the issuing CA’s CRL we configured it to issue a daily delta CRL.</p><p><em>OCSP URI</em></p><p>As an alternative to CRLs, we can set up an OCSP service to which clients can request certificate’s validation information. The reason for which <em>Online Certificate Status Protocol</em> was created was because, for Certification Authorities that had a high level of activity, CRLs become very big with time, which complicates the whole validation process initiated from the client.</p><p>In case we want to use an OCSP service, we have to specify its URL because it will be included inside the AIA information section on every issued certificate by the CA.</p><p>In our case we only set up the OCSP service for the issuing CA because the root CA has very low activity.</p><p><em>CA Policy</em></p><p>The purpose of a Certification Authority is to issue certificates, these certificates are issued following a given template, and under a set of conditions like security measures, management procedures, etc. This combination of attributes define an <em>issuance policy.</em></p><p>A CA must specify at least one <em>issuance policy </em>which states the conditions under which the certificate corresponding to that policy have been issued.</p><p>Each policy must be identified by an OID and a <em>policy statement </em>document<em> </em>which specifies the issuance conditions.</p><p>The OID is derived from a <em>private enterprise number </em>assigned by <a href="https://www.iana.org/">IANA</a>. In our case the enterprise number for Signaturit is 50646, which along with the <em>iso.org.dod.internet.private.enterprise</em> prefix (1.3.6.1.4.1) results in our organization base OID as 1.3.6.1.4.1.50646. And the policy OID as 1.3.6.1.4.1.50646.3.1.</p><p><strong>Software</strong></p><p>Now that we have specified most important CA configuration attributes, we need to sort out the key implementation aspect. Which software are we going to use to build the PKI?</p><p>Of course you could try to implement your own PKI software but that goes way beyond the scope of this blog post, plus you would have to certify that product itself before being able to use it in a production environment.</p><p>Instead, we will look for an available product in the market. The range for PKI solutions is pretty heterogeneous, it goes from a simple PKI built using OpenSSL, to a full blown product that costs over 20k.</p><p>In our case we decided to choose a solution that was, in our view, a compromise between cost, functionality and online support. We decided to build our PKI using Windows Server 2016 and its <em>Active Directory Certification Services</em>.</p><h3>Implementation</h3><p>The final PKI infrastructure looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*B8CRxa6_h3_mD4DOQfzYhw.png" /></figure><p>We set up 4 VMs:</p><ul><li>Windows Server 2016 with <em>Active Directory Certification Services</em> using <em>standalone Certification Authority</em> profile for the root CA</li><li>Windows Server 2016 with <em>Active Directory Domain Services</em> which acts as the <em>Domain Controller</em> for the other VMs (except for the root CA which is out of the domain)</li><li>Windows Server 2016 with Active Directory Certification Services using an enterprise Certification Authority profile for the issuing CA</li><li>Windows Sever 2016 with <em>Active Directory Certification Services</em> using the <em>Online Certificate Status Protocol</em> service profile along with an <em>Internet Information Services</em> role that sets up a web server to host the PKI certificates and CRLs</li></ul><p>The 4 VMs are deployed inside one physical server using Virtual Box.</p><p>Each VM is deployed using a <em>bridge </em>network adapter so they are attached to the same network as the HSM (except for the root CA, which is detached from network and offline).</p><p>The two CAs and the VM that hosts the OCSP service have a middleware software provided by the HSM vendor installed which allows them to communicate with the Hardware Security Module.</p><p>This middleware communicates with the application (in our case the Active Directory Certification Services) by means of the libraries provided by the HSM vendor that we mentioned in <em>Part 2 (link)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*dxBhsofkfw0Q477lCuIEKA.png" /></figure><p>For Windows Server 2016, the <em>Active Directory Certification Services</em> delegates the cryptographic operations to libraries accessible through the <a href="https://docs.microsoft.com/en-us/windows/desktop/seccng/cng-portal"><em>Cryptography API: Next Generation (CNG)</em></a><em> </em>interface.</p><p>The way the “hook” is performed is that, besides the middleware, there’s also a library provided by the HSM vendor that implements the CNG interface. So the flow is:</p><ol><li>Active Directory Certification Services has to perform an operation that requires the usage of a resource protected by the HSM. For example sign a CSR with the CA’s private key.</li><li>ADCS requests a digital signature operation for a given data and using the CA’s private key through the CNG interface</li><li>The request is processed by the CNG implementation provided by the HSM vendor relaying on the middleware to perform the communication with the HSM</li></ol><p>With all this, along with some other tricks, like enabling the inclusion of <a href="https://www.etsi.org/deliver/etsi_en/319400_319499/31941205/02.00.12_20/en_31941205v020012a.pdf"><em>QCStatements</em></a> for issued certificates, we built up our own PKI.</p><p>If you have more deep technical questions about <em>Active Directory Services</em> feel free to ask in the comments section, as we had to battle with it a little bit to work around some functionalities.</p><h4>About Signaturit</h4><p><a href="https://www.signaturit.com/en">Signaturit </a>is a trust service provider that offers innovative solutions in the field of electronic signatures (eSignatures), certified registered delivery (eDelivery) and electronic identification (EID).</p><h4>Open Positions</h4><p>We are always looking for talented people who share our vision and want to join our international team in sunny Barcelona :) Be a SignaBuddy &gt; <a href="https://www.signaturit.com/en/jobs">jobs</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75f11867399c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-3-public-key-infrastructure-75f11867399c">How we built a PKI and a TSA and got them certified in 6 months
Part 3: Public Key Infrastructure</a> was originally published in <a href="https://medium.com/signaturit-tech-blog">Signaturit Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we built a PKI and a TSA and got them certified in 6 months
 Part 2: Requirements]]></title>
            <link>https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-2-requirements-9a1e9b48abd3?source=rss-7d9fe5e291e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a1e9b48abd3</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[public-key-infrastructure]]></category>
            <category><![CDATA[hardware-security-module]]></category>
            <dc:creator><![CDATA[Dani Jimenez]]></dc:creator>
            <pubDate>Wed, 27 Feb 2019 08:09:37 GMT</pubDate>
            <atom:updated>2019-02-27T08:09:37.408Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>How we built a PKI and a TSA and got them certified in 6 months<br> Part 2: Requirements</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lQTmkSGwS2PKCMZzh4f9LA.png" /></figure><p>As we explained on the first part of this blog post (which you can read <a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-1-context-and-problem-9db07f290aac">here</a>) our goal was to build our own <em>Qualified Time Stamping Authority</em>.</p><p><strong>Requirements<br></strong>eIDAS also has a regulation about the requirements that a <em>Qualified Time Stamping Authority</em> must comply with.</p><p>The requirements and specification documents have been written by the <a href="https://www.etsi.org/"><em>European Telecommunications Standards Institute</em> (<em>ETSI</em>)</a> and talk about a bunch of different subjects including:</p><ul><li>Risk assessment</li><li>Policies and practices</li><li>Asset management</li><li>Access control</li><li>Cryptographic controls</li><li>Certificate profiles</li><li>Physical and environmental security</li><li>Operation security</li><li>Network security</li><li>Incident management</li><li>Collection of evidence</li><li>Business continuity</li></ul><p>There are some cool things, like cryptography and technical security aspects, but there are a bunch of boring things too…</p><p>We’ll forget about the boring parts and focus on the cool technical stuff.</p><p>Out of all specifications from ETSI documents we can extract two key requirements:</p><ul><li>We need a Hardware Security Module</li><li>We have to build our own Public Key Infrastructure first</li></ul><h3><strong>Choosing a Hardware Security Module</strong></h3><p>All <em>Signaturit’</em>s platform components are deployed using <em>Amazon Web Services</em>, so our first approach when choosing an HSM was to look for a cloud based HSM solution, and turned out AWS had one.</p><p>The <em>AWS CloudHSM</em> is a cloud based Hardware Security Module which you can interact with from within AWS cloud.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*FKiareHam9-NJeWwZFXTqA.png" /><figcaption>Amazon.com</figcaption></figure><p>Unfortunately for us, the auditors responsible for the PKI and TSA certification process were not in favor of a cloud based solution and preferred us to have the HSM “in house”.</p><p>So we started looking for different HSM vendors that were available in the market.</p><p>Even though I’m not a “hardware guy”, It’s always interesting to buy a new gadget, especially one that has some sort of self-destruction functionality!</p><p>When looking for an HSM, <strong>certifications matter</strong>, but usually all commercial HSMs have been audited on the same security standards, which mainly include:</p><ul><li><a href="https://en.wikipedia.org/wiki/FIPS_140-2">FIPS 140–2</a> standard with levels 2 and/or 3</li><li><a href="https://en.wikipedia.org/wiki/Common_Criteria">Common Criteria</a> EAL 4+</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*TFSQ2riuSJEGTYHROJzX2A.png" /></figure><p>Another important aspect when choosing an HSM is which libraries are available to communicate with it. But again, usually, every HSM manufacturer provides the same library support, which mainly include:</p><ul><li>PKCS#11 (we’ll talk a little bit about this later)</li><li>Java JCA/JCE provider</li><li>Microsoft CSP and/or CNG provider</li></ul><p>So after verifying that the HSM complies with these security levels and provides the client library that you need for your application, you can focus on its functionality for choosing one. We found two main differences:</p><ul><li>HSMs that store the application keys inside the device</li><li>HSMs that maintain a master key loaded inside the device, but store the application keys encrypted with that master key outside the device, on a file system. When the key has to be used, it’s loaded, decrypted and used inside the HSM, so the key data is never loaded in memory outside the device.</li></ul><p>We can argue which option is more secure, more flexible etc, both have pros and cons.</p><p>Besides that, there are some HSMs that provide more advanced functionalities like code execution inside the module, specific functionalities for payment systems, etc.</p><p>In the end we decided to choose one HSM model that keeps the keys encrypted on a file system because we considered it a more scalable approach. That way we’re not dependent on the HSM’s internal storage capacity, instead we can treat keys as any other file and easily share them between different HSM modules that have access to that filesystem.</p><p><strong>We have an HSM!</strong></p><p>After some market research, device analysis, and even training, we have an HSM and we’re ready to use it!</p><p>But, where are we going to install the [pretty big appliance] device?</p><p>Obviously for security reasons it was not a clever idea to have it in our office… So we had to look for a data center near by that comply with some security and management standards like <a href="https://en.wikipedia.org/wiki/ISO/IEC_27001">ISO27001</a>, <a href="https://en.wikipedia.org/wiki/ISO_9000#Contents_of_ISO_9001">ISO9001</a>, <a href="https://en.wikipedia.org/wiki/ISO_22301">ISO22301</a>…</p><p>Luckily for us, that was not too hard to find near Barcelona.</p><p>So we were able to deploy our own network inside the data center with our brand new HSM waiting for the rest of the pieces of the puzzle to be build!</p><h4>About Signaturit</h4><p><a href="https://www.signaturit.com/en">Signaturit </a>is a trust service provider that offers innovative solutions in the field of electronic signatures (eSignatures), certified registered delivery (eDelivery) and electronic identification (EID).</p><h4>Open Positions</h4><p>We are always looking for talented people who share our vision and want to join our international team in sunny Barcelona :) Be a SignaBuddy &gt; <a href="https://www.signaturit.com/en/jobs">jobs</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a1e9b48abd3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-2-requirements-9a1e9b48abd3">How we built a PKI and a TSA and got them certified in 6 months
 Part 2: Requirements</a> was originally published in <a href="https://medium.com/signaturit-tech-blog">Signaturit Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How we built a PKI and a TSA and got them certified in 6 months
Part 1: Context and problem]]></title>
            <link>https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-1-context-and-problem-9db07f290aac?source=rss-7d9fe5e291e2------2</link>
            <guid isPermaLink="false">https://medium.com/p/9db07f290aac</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[timestamping]]></category>
            <category><![CDATA[digital-signatures]]></category>
            <category><![CDATA[public-key-infrastructure]]></category>
            <dc:creator><![CDATA[Dani Jimenez]]></dc:creator>
            <pubDate>Mon, 18 Feb 2019 10:53:37 GMT</pubDate>
            <atom:updated>2019-02-18T10:53:37.738Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*fYYCZO8SPkl6ZZrQo_Jlfg.png" /></figure><p><strong>NOTE:</strong> Even though this is a tech blog, I’ve tried to write this post in a way that the not tech-savvy can understand everything. Even with that, there are some things that are left unexplained, so you might want to take a look at:</p><p><a href="https://en.wikipedia.org/wiki/Digital_signature">Digital Signature</a>, <a href="https://en.wikipedia.org/wiki/Public_key_infrastructure">Public Key Infrastructure</a>, <a href="https://en.wikipedia.org/wiki/Trusted_timestamping">Timestamping</a>, <a href="https://en.wikipedia.org/wiki/Certificate_revocation_list">CRL</a>, <a href="https://en.wikipedia.org/wiki/Online_Certificate_Status_Protocol">OCSP</a>, <a href="https://en.wikipedia.org/wiki/Hash_function">HASH</a></p><h3>Context</h3><p>Signaturit is a Qualified Trust Service Provider which has a <em>SaaS</em> platform that offers<strong> </strong>services that guarantee the legal<strong> </strong>security of all your digital transactions. One of its main features are the digital signatures. These digital signatures are performed complying with the eIDAS regulation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*oh2He69Dpp61aO7gfeg3eA.jpeg" /></figure><p><strong><em>What is the eIDAS regulation?<br> </em></strong><em>eIDAS is an EU regulation that specifies a set of standards for electronic identification and trust services for electronic transactions in Europe and it applies from 1st July 2016</em></p><p>The eIDAS regulation specifies three levels of digital signatures:</p><p><strong>Simple</strong> which is defined as…</p><p>“<em>Data in electronic form which is attached to or logically associated with other data in electronic form and which is used by the signatory to sign”<br></em> Which in practice can be something like a scanned signature, writing your name under an email, or performing a click on an “I accept” button.</p><p><strong>Advanced</strong> which must comply with the following requirements:</p><ul><li>Uniquely linked to the signer</li><li>Capable of identifying the signer</li><li>Created using signature creation data that the signer can use under their sole control</li><li>Linked to the signed data in such a way that any subsequent change in the data is detectable</li></ul><p><strong>Qualified </strong>which is the only electronic signature type being legally equivalent to a hand written signature, and which must comply with these requirements:</p><ul><li>Meet all advanced electronic signature requirements</li><li>Created by a qualified signature creation device (QSCD)</li><li>Based on a qualified certificate for electronic signatures</li></ul><p><strong><em>What is a Qualified Electronic Creation Device?<br> </em></strong><em>A QSCD is typically a combination of a hardware device and software that has been certified and approved to perform Qualified Electronic Signatures (QES). <br> Ultimately, a QSCD must use and rely on a Hardware Security Module (</em><a href="https://en.wikipedia.org/wiki/Hardware_security_module"><em>HSM</em></a><em>) which is a hardware device specifically designed to safeguard and manage cryptographic keys.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*r-QAk9agqLraFMONvDhovA.png" /></figure><p><strong><em>What is a Qualified Certificate?</em></strong><br> <em>A qualified certificate is a public certificate that has been issued by a Qualified Trust Service Provider (QTSP). That means it’s been issued by a natural or legal entity that’s been certified for the services it provides related to electronic identification.</em></p><p>Besides the different security levels for digital signatures, eIDAS also specifies different standards with which digital signatures must comply with depending on the format of the original data to be signed. For example:</p><ul><li>For a <strong>PDF</strong> file, the <strong><em>PDF Advanced Electronic Signatures (</em></strong><a href="https://en.wikipedia.org/wiki/PAdES"><strong><em>PAdES</em></strong></a><strong><em>)</em></strong> specifications must be followed</li><li>For a <strong>XML</strong> file, there’s the <strong>XML Advanced Electronic Signatures (</strong><a href="https://en.wikipedia.org/wiki/XAdES"><strong>XAdES</strong></a><strong>)</strong> extensions</li><li>For a <strong>CMS</strong> message, there’s the <strong>Cryptographic Message Syntax Advanced Electronic Signatures (</strong><a href="https://en.wikipedia.org/wiki/CAdES_(computing)"><strong>CAdES</strong></a><strong>)</strong></li></ul><p>Out of all these definitions, types and acronym, we will focus on the <strong><em>Advanced</em></strong> and <strong><em>Qualified</em></strong> signatures using <strong><em>PAdES</em></strong> specifications for <strong><em>PDF</em></strong> documents, which is the proper format for human-readable documents and the one that <em>Signaturit</em> is specialized on.</p><h3><strong>Initial scenario</strong></h3><p>Focusing on the digital signatures service provided by Signaturit…</p><p>The purpose of a digital signature, in this case applied to a document, is to provide a digitally supported method to be able to validate the authenticity and integrity of that document. Put it simple:</p><blockquote>If I receive a digitally signed document, I must be able to verify the identity of the signer (authentication), with enough assurance that the signer is the one who performed that signature (non-repudiation), and that the document was not modified after the signature was applied (integrity).</blockquote><p><strong>Validating a digital signature</strong></p><p>So, if I want to validate a digitally signed document I should proceed with the following verifications:</p><ul><li>Verify that the digital identity specified in the certificate matches the expected signer. For example, verify the certificate’s distinguished name data including signer’s name, surname, national id number, etc.</li><li>Verify that the certificate chain leads to a recognized Certification Authority.</li><li>Verify the status of the certificates that compose the certificate chain. That is:<br>- Verify that the root CA is still a trusted CA and certificate has not expired<br>- Verify, for each intermediate CA in the chain that each certificate has not expired and also none of them have been revoked, this can be verified by means of a CRL or OCSP service<br>- Verify that the signer’s certificate has not expired and is not revoked</li></ul><p>But, what happens if…</p><ol><li><em>Bob</em>, who is a user that’s in possession of a perfectly valid certificate issued by a trusted CA, performs a digital signature on a document.</li><li>One year later, <em>Bob</em>’s private key associated with that certificate is compromised, therefore that certificate is revoked.</li><li>One year after that, <em>Alice</em> receives the original document that <em>Bob</em> signed two years ago. <em>Alice</em>, who is a smart girl, performs the steps to verify the digital signature, and on the last verification she receives a message from the OCSP service for the intermediate CA that issued <em>Bob</em>’s certificate saying that that certificate is revoked.</li></ol><p>So is the digital signature performed by Bob valid?</p><p>Well… it should be right? Because, when the signature was performed, the private key related to <em>Bob</em>’s certificate had been protected securely… <br> But it’s not, it’s not valid because Alice does not have irrefutable proof of when the document was signed.</p><p>So how can we verify a signature that was performed correctly, even if its certificate was revoked afterwards, or even after its certificate has expired?</p><p>The solution for that is called <strong>Long Term Validation (LTV)</strong> of digital signatures.</p><p><strong>Long Term Validation (LTV)</strong></p><p>The goal is to be able to verify, at any time in the future, that a digital signature was valid at the time it was performed.</p><p>So how do we achieve that?</p><p><strong>The first thing we need</strong> is a digital evidence that the document and the digital signature applied to it existed at a given point-in-time and have not been modified since.</p><p>That’s clearly the use case for a <strong><em>digital timestamp</em></strong>.</p><p><strong><em>What is a digital timestamp?<br> </em></strong><em>A digital timestamp is basically a digital signature performed by a trusted Time Stamping Authority (TSA) and applied to a bunch of data that represents the “fingerprint” of a document in this case, along with a time reference obtained from a trusted time source.</em><br> <br><em> The way it works is:</em></p><ol><li><em>The client requesting the timestamp performs a hash on the data it wants to timestamp, and sends this hash representing the “fingerprint” of the document to the TSA.</em></li><li><em>The TSA concatenates the document hash along with a time reference obtained from a trusted time source which has a high reliability providing the correct time</em></li><li><em>The TSA performs a digital signature on the concatenated data along with some other metadata that references the operation, this constitutes the time stamp token that’s returned to the client</em></li></ol><p>Ok, so we have a method for verifying the contents of a document at a given point-in-time. From now on, any modification on the document would modify the hash that was sent to the TSA and therefore the time stamp would not be validated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*E72i3VvrniyoIDq97XfvGw.png" /></figure><p><strong>The second thing we need </strong>to achieve the goal of a <strong>LTV</strong> of digital signatures is to be able to verify that the certificate used in the digital signature was not revoked at the time of the signature.</p><p>To achieve this, the procedure consists on obtaining a certificate validation response (CRL or OCSP response) from the CA that issued the certificate at the time of the signature and embedding it before digitally signing it.</p><p>This way the non-revoked status of the signing certificate can be validate even if the CA that issued it has disappeared and has no active OCSP or CRL available.</p><h3><strong>The problem</strong></h3><p>Now, coming back to the beginning of the story…</p><p>We know about <strong><em>Advanced</em></strong> and <strong><em>Qualified</em></strong> security levels and know about <strong>LTV</strong> of digital signatures, which are the really COOL digital signatures!</p><p>But, the thing is <em>Signaturit</em> was already performing really cool <strong><em>Advanced LTV </em></strong>signatures, so… What is the problem then?</p><p>Well, the “problem” is that, as we explained, in the process of performing the cool digital signature we need to request a time stamp, and this time stamp was being requested to a third party, it was not performed by <em>Signaturit</em>, which… is not cool at all, right?</p><p>So our real goal was set up, <strong>we want to build our own Time Stamping Authority</strong>.</p><p>How did we do that?</p><p>If you want to know, follow us on the second part of this blog post!</p><h4>About Signaturit</h4><p><a href="https://www.signaturit.com/en">Signaturit </a>is a trust service provider that offers innovative solutions in the field of electronic signatures (eSignatures), certified registered delivery (eDelivery) and electronic identification (EID).</p><h4>Open Positions</h4><p>We are always looking for talented people who share our vision and want to join our international team in sunny Barcelona :) Be a SignaBuddy &gt; <a href="https://www.signaturit.com/en/jobs">jobs</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9db07f290aac" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signaturit-tech-blog/how-we-built-a-pki-and-a-tsa-and-got-them-certified-in-6-months-part-1-context-and-problem-9db07f290aac">How we built a PKI and a TSA and got them certified in 6 months
Part 1: Context and problem</a> was originally published in <a href="https://medium.com/signaturit-tech-blog">Signaturit Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>