<!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">

<p style="color: #777777;">
<a href="https://gitlab.com/dwmw2">David Woodhouse</a>
commented:
</p>
<div style="">
<p dir="auto">My test setup: Using the OpenConnect test certificates, with the EC key wrapped using the <code>create_tpm2_key</code> tool from openssl_tpm2_engine since the tpm2-tss engine can't wrap keys yet; it can only create them.</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">~/git/openconnect/tests/certs$ openssl s_server -cert server-cert.pem -key server-key.pem -accept 8443 -verify 1 -tls1_2</span></code></pre>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">~$ openconnect -c ~/git/openconnect/tests/certs/ec-cert.pem -k ~/git/openssl_tpm2_engine/ec.tss localhost:8443 --servercert pin-sha256:xp3scfzy3rOQsv</span></code></pre>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">~/git/gnutls/src$ ./gnutls-cli  --x509keyfile ~/git/openssl_tpm2_engine/ec.tss --x509certfile ~/git/openconnect/tests/certs/ec-cert.pem  --x509cafile ~/git/openconnect/tests/certs/ca.pem localhost:8443 </span></code></pre>
</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/issues/594#note_201944276">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/3ecd6bf1c9726b49b6cc083572608091/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 Issue","url":"https://gitlab.com/gnutls/gnutls/issues/594#note_201944276"}}</script>


</p>
</div>
</body>
</html>