Tiago,
From the error message, it appears that your client library is
incompatible with the 2048 bit dhparam that we now generate in Chef
Server. You can get around this by either providing your own dhapram
file:
nginx['ssl_dhparam'] = /path/to/file
or by deleting
/var/opt/opscode/nginx/ca/dhparams.pem
setting
nginx['dhparam_key_length'] = 1024
and running `chef-server-ctl reconfigure`.
Cheers,
Steven
On Fri, Sep 18, 2015 at 9:48 PM, Tiago Cruz < "> > wrote:
> Ohai,
>
> I was using Chef 12.0, and I have several app who interacts with Chef
> Server.
>
> After the upgrade to Chef 12.2, all of them stopped to work.
>
> - First question: Is possible to do rollback?
>
> I did one backup using "knife backup export" before the upgrade, but I'm not
> sure about the several changes in database.
>
> - Second question: Is this issue related to API v1 from Chef 12.1?
>
> Changelog says:
> API v1 now available / API v0 deprecated
>
> The error is:
>
> Caused by: org.jclouds.http.HttpResponseException:
> java.lang.RuntimeException: Could not generate DH keypair connecting to GET
> https://chef.org.com/organizations/myorg/users/myuser HTTP/1.1
>
> java.security.InvalidAlgorithmParameterException: Prime size must be
> multiple of 64, and can only range from 512 to 1024
>
>
> In the practice mode, what should I change to work with Chef 12.2?
>
> Thanks a lot!
>
> --
> -- Tiago Cruz
Archive powered by MHonArc 2.6.16.