OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] OpenVPN: --ns-cert-type is DEPRECATED
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] OpenVPN: --ns-cert-type is DEPRECATED  (Read 67841 times)

0xDEADC0DE

  • Newbie
  • *
  • Posts: 47
  • Karma: 1
    • View Profile
[SOLVED] OpenVPN: --ns-cert-type is DEPRECATED
« on: September 21, 2017, 12:48:15 am »
When I connect with OpenVPN I get this warning:

Code: [Select]
WARNING: --ns-cert-type is DEPRECATED.  Use --remote-cert-tls instead.

pfSense fixed it already. Perhaps you can include the code.
https://forum.pfsense.org/index.php?topic=129676.0

I get many requests from my users about this warning. Currently I fixed it by manually
editing the config file.
« Last Edit: September 23, 2017, 09:05:35 am by franco »
Logged

jorgevisentini

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 5
    • View Profile
Re: OpenVPN: --ns-cert-type is DEPRECATED
« Reply #1 on: September 21, 2017, 10:05:56 pm »
Yes, I've been manually editing the ovpn file for some time.

At this notice it is because in the future this parameter will be changed in OpenVPN.

I believe development staff just need to change this parameter to generate automatically.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: OpenVPN: --ns-cert-type is DEPRECATED
« Reply #2 on: September 22, 2017, 12:17:15 am »
Looks like one of those perfect times to be contributing small fixes to OPNsense. :D

But now here it is... https://github.com/opnsense/core/commit/73abc7c3d

# opnsense-patch 73abc7c3d

If you tell us that works it'll be in 17.7.4. But we still have time till 2.5 is out.


Cheers,
Franco
Logged

jorgevisentini

  • Jr. Member
  • **
  • Posts: 70
  • Karma: 5
    • View Profile
Re: OpenVPN: --ns-cert-type is DEPRECATED
« Reply #3 on: September 22, 2017, 09:49:07 pm »
Hi Franco, it work!

Sorry for I dont contribute for project but I dont know php very much and I dont know the project and also I dont know use git lol  :'(

I would very much like to help in any way possible.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: OpenVPN: --ns-cert-type is DEPRECATED
« Reply #4 on: September 23, 2017, 09:05:26 am »
Hi,

No worries, I just meant the change doesn't really require coding so is a good entry level challenge for contribution.

Reporting and testing is just as important. Thank you for this. I've added the patch for 17.7.4 and will mark this solved. :)


Cheers,
Franco
Logged

0xDEADC0DE

  • Newbie
  • *
  • Posts: 47
  • Karma: 1
    • View Profile
Re: [SOLVED] OpenVPN: --ns-cert-type is DEPRECATED
« Reply #5 on: September 25, 2017, 10:33:32 pm »
Thanks franco.  👍
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13679
  • Karma: 1176
    • View Profile
Re: [SOLVED] OpenVPN: --ns-cert-type is DEPRECATED
« Reply #6 on: September 25, 2017, 11:11:35 pm »
Thanks for the feedback, 17.7.4 hits tomorrow and we're all set as previously discussed.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.7 Legacy Series »
  • [SOLVED] OpenVPN: --ns-cert-type is DEPRECATED
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2