I have tried to create a private Tor network by using Chutney and Raspberry pis. I generated torrc and certificate files in chutney for a basic minimum network (4 Authorities, 1 Client and 1 Exit). I installed tor individually to each raspberry pi and then replaced the torrc file and "ALL" the files in the "keys" folder in the DataDirectory. I replaced the fingerprint files as well. The network boostrap without a problem. However, the connections are not created due to a TLS handshake error.
Following is the error msg received from one of the Directory Authorities.
Jan 27 17:24:18.595 [warn] Tried connecting to router at 192.168.0.15:443, but RSA + ed25519 identity keys were not as expected: wanted 3A0648D85696EA7B3A6F3075FF21100DFCDA720A + B93a37ZgkrhKqvkNr3IqahNSZMWgZDwSgAOTuaV0eh8 but got 4E7E942815916E52366B55D756AB1E57D0A4EEE7 + mmVeMHjlfapT+wY2OcUtXrKF4Ttfyw0HJJA3J4Sqoe4.
Jan 27 17:24:18.595 [warn] Received a bad CERTS cell from [scrubbed]:443: Problem setting or checking peer id
Following is a error msg received from the Tor client. It does not bootstrap properly.
Jan 27 17:10:16.884 [warn] Tried connecting to router at 192.168.0.2:443, but RSA + ed25519 identity keys were not as expected: wanted EC6780819230C3F7457FC3BF4A68762297115A29 + I7PcujSjqkokO5BQ9Ili0wFuBsr7tl8kalbdIMlUL5Y but got 04812142D2DA6C7AD8EFCDF6159C2F8192D5CF14 + gOBbMjMiQDihfiWthps4klv7UeuDPXsg+QdsFPka0jc.
Jan 27 17:10:16.884 [warn] Problem bootstrapping. Stuck at 85%: Finishing handshake with first hop. (Unexpected identity in router certificate; IDENTITY; count 16; recommendation warn; host EC6780819230C3F7457FC3BF4A68762297115A29 at 192.168.0.2:443)
Jan 27 17:10:16.884 [warn] 15 connections have failed:
Jan 27 17:10:16.884 [warn] 15 connections died in state handshaking (Tor, v3 handshake) with SSL state SSL negotiation finished successfully in OPEN
Jan 27 17:10:16.884 [warn] Received a bad CERTS cell from [scrubbed]:443: Problem setting or checking peer id
I understand that the reason for this should be a mismatch of the fingerprints or keys that I have copied. But I am unable to figure out which. I would appreciate any help here.