/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 4435bdc8996080c0ca464270a81713778c1668a8 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=0sAwEAAZi2bRfKvUx+OfA/BTvhVbDJmjAIMbNmiro8EkUpEdJW+lbDCSZ5aCcNNOJKy8oOOpB4EEwZuNNw8GYk6/BFapy7Nh6BRTEDMDXQb79IbgDxdne6PBIsAB8XOCHD8fjyduFlIgpfm966EsJNC5dMZMG8oTUUsnk7NVIGxS4jmw4P9vWWXL2Q2pahO5m9g1grdjhEUbRuLhaddJPqPlQ8O2Qx0vO9MAO3+IK9mX9BKvlbCT5+isdwMhZmvsq4LwLFo3uWbHQv3ZG7MNaDNgTr4Z4dTfG/1iqEPN5fKrgi5m2ZS/EBP5uiQ8ArCV4Tspwfg7xfLN7OUGRTfr9gH83OThBkP8PBpkOZj1A/X3L2/QgGiV6zoGpnI739K5blyG4PA6NWClc6J8iNjqTg05UZQn6eYCAAV/SBfEXN4xLH2f0ASLqtQqah3PeJsRHA9/v4Pjzuivcexkx9ER/7LlQ7AwOjX9s7jiyZ5a1qvfdT8aDlbRB0/emJBLAz6hC1mOhWgplr3ocKINjfs+zv23Q3Fx9QUor4hvwMaD2faB71WNkhQ2nxMjTTC3iJqEArjsKlAQ== kroot@swantest:/home/build/libreswan/testing/pluto/ipsec-hostkey-ckaid-01\[root@west ipsec-hostkey-ckaid-01]# ipsec showhostkey --list < 1> RSA keyid: AwEAAZi2b ckaid: 4435bdc8996080c0ca464270a81713778c1668a8 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 AwEAAZi2b leftrsasigkey=0sAwEAAZi2bRfKvUx+OfA/BTvhVbDJmjAIMbNmiro8EkUpEdJW+lbDCSZ5aCcNNOJKy8oOOpB4EEwZuNNw8GYk6/BFapy7Nh6BRTEDMDXQb79IbgDxdne6PBIsAB8XOCHD8fjyduFlIgpfm966EsJNC5dMZMG8oTUUsnk7NVIGxS4jmw4P9vWWXL2Q2pahO5m9g1grdjhEUbRuLhaddJPqPlQ8O2Qx0vO9MAO3+IK9mX9BKvlbCT5+isdwMhZmvsq4LwLFo3uWbHQv3ZG7MNaDNgTr4Z4dTfG/1iqEPN5fKrgi5m2ZS/EBP5uiQ8ArCV4Tspwfg7xfLN7OUGRTfr9gH83OThBkP8PBpkOZj1A/X3L2/QgGiV6zoGpnI739K5blyG4PA6NWClc6J8iNjqTg05UZQn6eYCAAV/SBfEXN4xLH2f0ASLqtQqah3PeJsRHA9/v4Pjzuivcexkx9ER/7LlQ7AwOjX9s7jiyZ5a1qvfdT8aDlbRB0/emJBLAz6hC1mOhWgplr3ocKINjfs+zv23Q3Fx9QUor4hvwMaD2faB71WNkhQ2nxMjTTC3iJqEArjsKlAQ== 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]#