Skip to content

Commit

Permalink
TEZ-4492 : Disable strict-ssl for Bower Registry CERT_EXPIRE issue ( …
Browse files Browse the repository at this point in the history
…BOWER-2608)

After the recent Bower certificate renewal, Tez RPM build is failing because of

******************
[INFO] bower more-js#0.8.8 CERT_HAS_EXPIRED Request to https://registry.bower.io/packages/more-js failed: certificate has expired
******************

A workaround is to disable strict-ssl in bowerrc . We need to disable it for .yarnrc as well, otherwise the build was leading to a different error :
******************
error An unexpected error occurred: "https://registry.yarnpkg.com/boom/-/boom-7.3.0.tgz: unable to get local issuer certificate".
******************
  • Loading branch information
AnmolSun committed Apr 27, 2023
1 parent 9d1504e commit 9816bd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tez-ui/src/main/webapp/.bowerrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"directory": "bower_components",
"registry": "https://bower.herokuapp.com",
"analytics": false,
"strict-ssl": false,
"resolvers": [
"bower-shrinkwrap-resolver-ext"
]
Expand Down
1 change: 1 addition & 0 deletions tez-ui/src/main/webapp/.yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strict-ssl false

0 comments on commit 9816bd4

Please sign in to comment.