<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="https://forum.yubico.com/feed.php?f=35&amp;t=2751" />

<title>Yubico Forum</title>
<subtitle>...visit our web-store at</subtitle>
<link href="https://forum.yubico.com/index.php" />
<updated>2017-10-18T21:42:55+01:00</updated>

<author><name><![CDATA[Yubico Forum]]></name></author>
<id>https://forum.yubico.com/feed.php?f=35&amp;t=2751</id>
<entry>
<author><name><![CDATA[mainpony]]></name></author>
<updated>2017-10-18T21:42:55+01:00</updated>
<published>2017-10-18T21:42:55+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9889#p9889</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9889#p9889"/>
<title type="html"><![CDATA[Re: Yubikey piv pkcs11 putty on windows]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9889#p9889"><![CDATA[
Unless you have a specific need for OpenSC or PKCS11, it is probably easier to use <a href="https://github.com/NoMoreFood/putty-cac/releases" class="postlink">Putty-CAC</a> though. It integrates directly with the Windows Crypto API which can natively access certificates on the PIV applet, so no need to install OpenSC.<br /><br />Though note that <a href="https://forum.yubico.com/viewtopic.php?f=26&amp;t=2739" class="postlink">certificates may not be visible</a> on Windows 10 due to what looks like a bug in Yubico's recently released driver (uninstalling and using the Windows native driver works, see link).<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4931">mainpony</a> — Wed Oct 18, 2017 9:42 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[valgenova]]></name></author>
<updated>2017-10-14T09:17:41+01:00</updated>
<published>2017-10-14T09:17:41+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9865#p9865</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9865#p9865"/>
<title type="html"><![CDATA[Re: Yubikey piv pkcs11 putty on windows]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9865#p9865"><![CDATA[
Hi,<br /><br />Searching the net, I was able to find the correct settings for my Yubikey 4 to work on a Windows putty-sc settings,<br />using my save rsa key on slot 9a of my Yubikey. <br /><br />Here is what I did.  I download the putty-sc, and download opensc-0.15.0-win32, also download the psearch.exe.<br />installed all the three installers.  To know where my pkcs dll is stored, I run the psearch.exe, result say that the dll is <br />stored in c:\windows\system32\opensc-pkcs11.dll.(take note of this path, because this will be use for the pkcs#11 library)<br /><br />I inserted my Yubikey 4 device.<br />Then I run the putty-sc, and configured it. On my putty-sc,From Category --&gt; I click SSH then Pkcs11<br />From the menu window of Pkcs11 I put a check on the checkbox Attempt &quot;PKCS#11 smart card&quot; auth (SSH-2)<br />For the Authentication parameters PKCS#11 library for authentication, I browse my opensc-pkcs11.dll, <br />the file is stored in c:\windows\system32\opensc-pkcs11.dll (the psearch.exe result)<br />Token Label: will have a value when you click the dropdown arrow, the value is  PIV_II (PIV Card Holder Pin)<br />Certificate Label: will also have a value when you click the dropdown arrow: the value is: Certificate for PIV Authentication<br /><br />From the Category again, click Session, then type the hostname or ip address of the remote server where you stored your authorized_keys.<br />From the ssh: login as root (or any user you put to your remote server)<br />Passphrase for smartcard &quot;PIV_II (PIV Card Holder pin) &quot;type or yubikey PIN&quot;  then press enter<br />Your yubikey should be blinking, tap your Yubikey to login to the remote server. You should be able to login to your remote server.<br /><br />Hope this guide will help others like me who are new to Yubikey.<br /><br />Thanks in advance<br /><br />valgenova<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4877">valgenova</a> — Sat Oct 14, 2017 9:17 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[valgenova]]></name></author>
<updated>2017-10-14T05:43:45+01:00</updated>
<published>2017-10-14T05:43:45+01:00</published>
<id>https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9862#p9862</id>
<link href="https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9862#p9862"/>
<title type="html"><![CDATA[Yubikey piv pkcs11 putty on windows]]></title>

<content type="html" xml:base="https://forum.yubico.com/viewtopic.php?t=2751&amp;p=9862#p9862"><![CDATA[
Hi<br /><br />Im using the yubikey PIV-PKCS#11 setup on my ubuntu pc.<br />I was able to save my rsa-keys to slot 9a. And from my ubuntu I have generated the rsa-keys and load it<br />up on the remote server authorized_keys.  <br /><br />I was able to login to the remote server, using the command from my terminal in ubuntu<br />ssh -I /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so <!-- e --><a href="mailto:root@my.remote.server">root@my.remote.server</a><!-- e -->.<br /><br />Now what I want to do is used the same rsa-key saved on my yubikey on slot 9a and use that key<br />using a windows OS pc with putty, on my putty I will ssh to the remote server using the same<br />key I imported from my yubikey.<br /><br />My question is, how do I use the rsa keys save on my Yubikey slot 9a using a Putty on windows.<br />What settings I need to do to my Putty? how do I specify on putty to use the rsa keys save on my Yubikey.<br />what are the commands to run to specify which pkcs11 dll to use.<br />Do I need to use putty or putty-sc or putty-cac? <br /><br />Thanks in advance<br />valgenova<p>Statistics: Posted by <a href="https://forum.yubico.com/memberlist.php?mode=viewprofile&amp;u=4877">valgenova</a> — Sat Oct 14, 2017 5:43 am</p><hr />
]]></content>
</entry>
</feed>