Both are crucial; however, a portfolio demonstrates your capabilities by showcasing what you've designed, convincing recruiters of your ability to perform what you're certified for.
I don't think anyone should go for certificates over portfolio, both are important as a designer but I think you should priotize portfolio.
You can land a job with only portfolio and I don't think only certificate without visual proof of your works can do that... 2 cents