/testing/guestbin/swan-prep --nokeys Creating empty NSS database kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# rm -f /tmp/newhostkey.txt kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# ipsec newhostkey --output /tmp/newhostkey.txt Generated RSA key pair with CKAID 6cfa40d8a9b6e63117fa20832ca534ce7288667c was stored in the NSS database kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# grep pubkey= /tmp/newhostkey.txt #pubkey=0sAwEAAb5FO7w2VbKg3/ieY9Dg+yUms6ESOaa1mNA1dB17T5HOjq0Jpd8TxxDFrqpPP+4DmZxXfrTokt9GGNkzZ6lkDfYQ9nC0vNB7Fo4PsEDLIwl2OmOSzTR1iBCJcY6NrlPcacdkK5QqN7fXWyXTqvu8Mg7ovMD1t5vnTX0yJEVOg1eLxVRBPDeBIruhSWHtdeO7jR/mEKiMQgirJbLflW5F06DUPKwkOCtOmTdaVqTHqYqghlLGAYgMF46eKxnXYpfQlLpL+loH6nWyIo8vij1/h9vpG2+QWwtmhNn+BUz4AUUvCncOqtFPWPULsCpnsCUbZr6VjpU5uRWPVpGazuX0cW4tWxVqdk68Zv0v6m4v1kQZa4aRKYfKhCNbFvMup1fHdb5jZ0QmPzzNG95ELG07885KpvtMKBYhpov+gkGLs6JUMlWRhkfJTSjt4zv+pb5WqgUbiTcwMPi7iPR34M+5w2orrtwJH9311qPmyAEqU0HZn41SIKiPXGqDWpsJh18Z7L22jzoxa9zdV+MoP7EpAmWcwxoVfh0suMhTtFlnvg0O7KSzbdiMjo8/eLDiEU+ToeR4VKTV0SDsjs2FBs33jjN3kNHIiNjAzvInXiUq6DKkkAuw9d8Ba0MnyCd5p90= kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# ipsec showhostkey --list < 1> RSA keyid: AwEAAb5FO ckaid: 6cfa40d8a9b6e63117fa20832ca534ce7288667c kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# ckaid=$(ipsec showhostkey --list | sed -e 's/.*ckaid: //') kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# ipsec showhostkey --left --ckaid "$ckaid" # rsakey AwEAAb5FO leftrsasigkey=0sAwEAAb5FO7w2VbKg3/ieY9Dg+yUms6ESOaa1mNA1dB17T5HOjq0Jpd8TxxDFrqpPP+4DmZxXfrTokt9GGNkzZ6lkDfYQ9nC0vNB7Fo4PsEDLIwl2OmOSzTR1iBCJcY6NrlPcacdkK5QqN7fXWyXTqvu8Mg7ovMD1t5vnTX0yJEVOg1eLxVRBPDeBIruhSWHtdeO7jR/mEKiMQgirJbLflW5F06DUPKwkOCtOmTdaVqTHqYqghlLGAYgMF46eKxnXYpfQlLpL+loH6nWyIo8vij1/h9vpG2+QWwtmhNn+BUz4AUUvCncOqtFPWPULsCpnsCUbZr6VjpU5uRWPVpGazuX0cW4tWxVqdk68Zv0v6m4v1kQZa4aRKYfKhCNbFvMup1fHdb5jZ0QmPzzNG95ELG07885KpvtMKBYhpov+gkGLs6JUMlWRhkfJTSjt4zv+pb5WqgUbiTcwMPi7iPR34M+5w2orrtwJH9311qPmyAEqU0HZn41SIKiPXGqDWpsJh18Z7L22jzoxa9zdV+MoP7EpAmWcwxoVfh0suMhTtFlnvg0O7KSzbdiMjo8/eLDiEU+ToeR4VKTV0SDsjs2FBs33jjN3kNHIiNjAzvInXiUq6DKkkAuw9d8Ba0MnyCd5p90= kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# : ==== end ==== kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]#