Insufficient key material or header text not found found in

Home Page Forums Network Management ZeroShell Insufficient key material or header text not found found in

This topic contains 7 replies, has 0 voices, and was last updated by 10 years ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #42287


    I am trying to cosntruct a lan to lan VPN from another Company
    This , have told me the preshared key “JVh3sr5I6C” to put into my vpn configuration.
    They are using the Encryption Method IKE: AES256:SHA

    My questions are:
    – If they are giving me the preshared key , how am I acting as a server or client?
    – I have got the following error when i Save my conf:
    Insufficient key material or header text not found found in file ‘/tmp/VPN00.psk’ (10/128/256 bytes found/min/max)

    Could anyone help me. Thanks very much



    Could you post a screenshot of the configuration?


    Firs I tried to put the preshared key in ascii, and I Have got an error about the NOn-HEx code.
    And after I put it in hexadec snd I have got the “Insufficient key material or header text not found found in” error

    Thanks and Regards



    Looks like you should not leave spaces in the key.
    If you use the gen-key button next to the passphrase field you will get something like the following:


    I suggest you use the gen-key button to provide you a correct key.


    Yes that’s rigth, but in the case that a preshared key is given, what should I do?

    The other side gave me the key, to put it into my side
    They gave me an ascii preshared key, I introduce it in the zeroshell and I have got the error related to the non hex characters.
    So I convert the ascii key into hex and I tried to introduce it and I have got the error “Insufficient key material or header text not found found in”

    What can i do?



    If the ascii key they gave to you contains only letters from a to f and numbers then delete any spaces and try to insert it in the field without any conversion.


    I am trying to introduce: JVq3rc6I5M

    and I have got:
    Non-Hex character (‘J’) found at line 2 in key file ‘/tmp/VPN00.psk’ (0/128/256 bytes found/min/max)




    As I said before letters in hex are A-F, J is out of this window, so it is no surprise to give you an error.
    The key you are trying to insert is too small, it is only 10bytes and Zeroshell expects at least 128bytes up to 256. I suggest you generate a key on ZS and send it to your peer.


    OK thx

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.