<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<p dir="auto">I tried with</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">cat cert.cfg </span>
<span id="LC2" class="line" lang="plaintext">dn = C=GR</span>
<span id="LC3" class="line" lang="plaintext">expiration_date = "9999-12-31 23:59:59"</span>
<span id="LC4" class="line" lang="plaintext"></span>
<span id="LC5" class="line" lang="plaintext">certtool ... --sign-params=RSA-PSS --key-type rsa-pss --salt-size=32 -c</span></code></pre>
<p dir="auto">But the resulting cert looks different from the old one:</p>
<pre class="code highlight js-syntax-highlight diff" lang="diff" v-pre="true"><code><span id="LC1" class="line" lang="diff"><span class="gd">- Subject Public Key Algorithm: RSA-PSS</span></span>
<span id="LC2" class="line" lang="diff"><span class="gi">+ Subject Public Key Algorithm: RSA</span></span>
<span id="LC3" class="line" lang="diff"> Algorithm Security Level: Medium (2048 bits)</span>
<span id="LC4" class="line" lang="diff"><span class="gd">- Parameters:</span></span>
<span id="LC5" class="line" lang="diff"><span class="gd">- Hash Algorithm: SHA256</span></span>
<span id="LC6" class="line" lang="diff"><span class="gd">- Salt Length: 32</span></span>
<span id="LC7" class="line" lang="diff"><span class="gu">@@ -41,61 +38,60 @@</span></span>
<span id="LC8" class="line" lang="diff"> Signature Algorithm: RSA-PSS-SHA256</span>
<span id="LC9" class="line" lang="diff"> Salt Length: 32</span></code></pre>
<p dir="auto">Can you give me the correct command to regenerate?</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/merge_requests/979#note_160754399">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/97bb8e5a79fc90893cd911f5f13b2b70/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/merge_requests/979#note_160754399"}}</script>
</p>
</div>
</body>
</html>