Be sure to have a newline character (i.e. a carriage return) after the
closing curly bracket.
Regards
Andreas
> Julia Andersen wrote:
>
> Hey there!
> I get this error message in my message log:
> May 14 14:47:50 linux Pluto[2181]: loading secrets from
> "/etc/ipsec.secrets"
> May 14 14:47:50 linux Pluto[2181]: "/etc/ipsec.secrets" line 10: malformed
> end of RSA private key -- indented '}' required
> May 14 14:47:50 linux ipsec__plutorun: 003 "/etc/ipsec.secrets" line 10:
> malformed end of RSA private key -- indented '}' required
> According to Nate Carlson's web page i cannot use the command:
> : RSA host.example.com.key "password"
> because of my FreeS/wan version.
> Therefore I used this command to get the information to the ipsec.secrets
> file.
> # ipsec fswcert -k host.example.com.key
> That gave this result that i have posted in the secret file.
> : RSA {
> Modulus:
> 0xF5E90C85D08D2652CAB731874394414CB236E8A057FDAFCD7A919D362C8B29919F0B312DE7DD5A24E8D7B98EE35299F062B1ADA8472C2A360467AE2687FECAC73981A698E2E81390D323790450A09982A2AC0D6C4D4F37BADB2AC30BBC006273E2E3DE190D4E26239F40D75539520FAB610A8E3B700857A2EDD88A1F628E42DC9451DA9AAD3202794C022D61B70E33949CB6C50E013A5428B353F6A899D541641750652C22F4337284B3852098AB1E45961B41CF4BF44C36987D07DAC26558E3D8509D7C256B2020300A8D6058383E192FF7CA36A4277FCA0B1321BF80013A2F4F9D624DB037BBFF9164356085720D2AC689919FC2415355E4D1139366415A47
> PublicExponent: 0x010001
> PrivateExponent:
> 0x947136CEFC428854C7EBE7E8F821617DB3C2B3903F2D73573D5AF324C5A4C7D610C4C7CE273E16715B6105B13C861B48E1BAD1D2580C4FFAC593F4AB6BC2A193BBA208F81758F29EA4E5AFE2ABED165DA666E7BF6DB79933A1A361940ECBC8A29DDEE1AE0BBB1608C0D47A6806AF03A8776ED0C70E6CEAC1FE838D753EA013B9369EBA3BA53448F1E907C6B5BFF436CD67C4C5084FD7B91CAA5FD65C1FBBC18364DF14A78FAA29981F38487531F27FC8F8E1601565152D3431DE530C3125965C26C248D9A31940B97973E9D79440D31712FFDDB4208FCAC06A094FEE7FBCB9036F17B45B327D5E05F4B38DDA84983F775C15BC599F5B3C346FF2472AAC7DC341
> Prime1:
> 0xFC7F5EC2294D25688F79C6745E89B8B4FC4E8AC9A1A891C7358F80683175B5A0213C2B6C86BEF8F0346400163E4D09C4A0BD6AF77B8EC8FBD22EEC571853A3562CC2C66E6762936A32FCA07C5D3AA3FB6C70E791C8D9B77CB19CA6B5EC7B4763A7A8385D128A4E15B1A9FEA62D5256B9DCE166D2697551A28134662948BAF4E1
> Prime2:
> 0xF952499043716EBA0D03D1AB6F23F266F6DA33F5126058CDBA977D743F16C2224E6474D321957A10C7E7C744AACDE35A71F36AC5A2C8FBB7B27B23CCE39E0CA45EA4A72633FE8BEDFE7812F4D491CFE0CE62BA294C1B6F95485E3F31D401691DFACE240359BC0CEFD0ECC4ACFC32B60FD30F3A725DC12EF7B733349D243B8C27
> Exponent1:
> 0x392FB3CB6FC53C32B94410516CD3EE54774C669C921376A8D295A4B474773F627C047FA53DC364E82A4577CB91E2AAD2B0C115C7E5610A5E1655704BAD83CBDB8999B78D6BB6E4C249B7F3B516FC600562A3139F6E08F948B1855430A1D5ADEE811B5560A70151FC11D7F987B37E118C58DD680741C14372F5A66378F832F7A1
> Exponent2:
> 0x96A93E20FA506A9BED4F787D433D12B75BC6820D3F5C8F6D4AAB4EB95782762FEAF5538F5E4508AD694FCB9FD8237096F0332B3B60E2591229BDB5E5934AA7D3100A29A3B159C9CF38ADF0AE9861C09FD5B7DD4D255B92F33FF70BF31D6CF8CB900ACFC262907BB4D3A8B034E475F484DD82DF4BCB11F942E227044D4D5EDA93
> Coefficient:
> 0x8D73677ABC1F3C60AE42116F21EB8CBFE36FB47F1800B71B913B2A3DFBFCAAF83816D5A1DBD1F88529B8BA8D4D55C1F24869980B9FFEDDA550A9089E5E882B66BE4F4701F342DD86D001F8054BA69FFE3C20367225C1929F6A548B27E1A82F7881C78F12D270035B1A6756C419EFA62B854B7A02602088E2685EEE5C17A51E05
> }
>
> ANY ideas are welcome.
>
> best regards
>
> Rune Zimmermann
> Denmark
======================================================================
Andreas Steffen e-mail: andreas.steffen_at_zhwin.ch
Zuercher Hochschule Winterthur home: http://www.zhwin.ch/~sna/
CH-8401 Winterthur (Switzerland) phone: +41 76 340 25 56
===============================================================[ZHW]==
Content Security by MailMarshal
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users
This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:20:01 CEST