When you try to add a new roadwarrior connection and use a name for the certificate that is already in use (which you might not know about), you will get this error on saving: "OpenSSL hat einen Fehler verursacht: 256" (don't know what would have been shown in English). In "/var/log/httpd/error_log" you can see: failed to update database TXT_DB error number 2 Proposed solution: IPFire should check if the name is already in use and then present a meaningful error message or if this is not possible to check, at least check the log for said error message and inform the user what might possibly be the cause.
Created attachment 526 [details] Check if RW host name is already set Have made a patch for Roadwarriors which should prevent that a client name will be used two times so no OpenSSL warning 256 comes up and a useful error message should be delivered. Greetings, Erik
Patch didn't work for me. Still the same error messages. Do you check for the name of the connection ("Name:") or for the name of the certificate ("Voller Name oder System-Hostname des Benutzers")? The first one is already checked. Problem exists for the second one.
Created attachment 527 [details] Check for Roadwarrior if certificate name is already set I see, thanks for checking this. Have attached another patch ( ovpn_check_for_RW_cert_name.patch ) which should solve this. Erik
Works fine now, thx!
Good to hear, thanks for the feedback. Greetings, Erik
@Erik: Is this patch already implemented in Core? Ticket could be closed then, I guess.
(In reply to Larsen from comment #6) > @Erik: Is this patch already implemented in Core? > Ticket could be closed then, I guess. No it isn't. @Erik: Please submit the patch again or close this ticket if no longer relevant.
Patch has been delivered --> https://patchwork.ipfire.org/patch/1820/ . Best, Erik
Please set tickets to MODIFIED when a patch has been submitted.
OK, will do that. Thanks for reminding. Best, Erik
I assume this can be closed as FIXED. If not, please reopen it. Thank you. :-)