When trying to access the virtual desktop, renew certificates, or perform employer filings on serviciosdigitales.imss.gob.mx, many users in Mexico encounter the “Access Denied Error 17” message. This error is different from Error 15 (which relates to browser and Java compatibility) and appears specifically when there are network connectivity issues, TLS security configuration problems, firewall or corporate proxy blocks, or expired sessions. In this comprehensive guide, you will find the exact causes and proven solutions to resolve Error 17 on the IMSS Digital Services portal.
The Error
When you attempt to access any service within the serviciosdigitales.imss.gob.mx portal, the page displays a message similar to:
- “Access Denied — Error 17” — appears on a white or gray screen when trying to load the IMSS virtual desktop
- “Access Error 17 — Request Denied” — a Spanish variant that some users report
- “The connection was refused” — when the firewall completely blocks the connection
The error most frequently occurs in the following scenarios:
- Corporate networks with strict firewalls or proxies that filter HTTPS traffic
- After a period of inactivity when the portal session has expired
- Computers with outdated TLS configuration that do not support the protocols required by the IMSS
- Connections through corporate VPNs that route traffic through servers blocking the portal
- Browsers with restrictive security policies configured by the IT department
Root Cause
Error 17 on the IMSS portal has different causes than Error 15. While Error 15 originates from browser incompatibility or missing Java, Error 17 is related to the network and connection security layer:
Corporate firewall blocking traffic: Enterprise firewalls frequently block connections to non-standard ports or government domains that are not on their whitelist. The IMSS portal uses port 443 (HTTPS) but may also require connections to additional subdomains.
Corporate proxy intercepting the connection: Many corporate proxies perform SSL/TLS inspection that breaks the IMSS portal certificate chain, causing the server to reject the connection with Error 17.
Incompatible TLS configuration: The IMSS portal requires TLS 1.2 as a minimum. Computers with Windows 7 or legacy configurations that only have TLS 1.0 or SSL 3.0 enabled will be rejected.
Expired session or invalid tokens: If you remain inactive for more than 15-20 minutes on the portal, the session expires and when you try to continue, Error 17 is generated instead of redirecting you to the login page.
Network restrictions by location: Some public networks (cafes, hotels, airports) block access to government portals through captive portals or content filters.
Step-by-Step Solution
Step 1: Verify connectivity to the portal
Open PowerShell as administrator and run:
Test-NetConnection serviciosdigitales.imss.gob.mx -Port 443
If the result shows TcpTestSucceeded: False, the problem is network-related (firewall or proxy). If it shows True, the problem is browser configuration or session-related.
You can also verify DNS resolution:
Resolve-DnsName serviciosdigitales.imss.gob.mx
Step 2: Enable TLS 1.2 in Windows
- Press Win + R, type
inetcpl.cpland press Enter - Go to the Advanced tab
- In the security section, make sure the following are checked:
- Use TLS 1.1 — checked
- Use TLS 1.2 — checked
- Use TLS 1.3 — checked (if available)
- Uncheck SSL 3.0 and TLS 1.0 for security
- Click Apply and then OK
- Restart the browser
Step 3: Configure Windows Firewall exceptions
- Open Control Panel > System and Security > Windows Defender Firewall
- Click Advanced settings
- Under Outbound Rules, create a new rule:
- Type: Port
- Protocol: TCP
- Remote port: 443, 8443
- Action: Allow the connection
- Name: “IMSS Servicios Digitales”
To verify the firewall is not blocking the connection:
netsh advfirewall firewall show rule name="IMSS Servicios Digitales"
Step 4: Configure the proxy (corporate networks)
If you are behind a corporate proxy:
- Press Win + I > Network & Internet > Proxy
- In the Manual proxy setup section, add to exceptions:
*.imss.gob.mx;serviciosdigitales.imss.gob.mx - Apply the changes and restart the browser
If the proxy performs SSL inspection, ask your network administrator to add serviciosdigitales.imss.gob.mx to the SSL inspection exclusion list.
Step 5: Clear sessions and cookies
- In Microsoft Edge, press Ctrl + Shift + Delete
- Select the time range All time
- Check Cookies and other site data and Cached images and files
- Click Clear now
- Close all browser windows and reopen
- Navigate directly to
https://serviciosdigitales.imss.gob.mx
Step 6: Reset network configuration
If the previous steps do not resolve the problem:
# Run as administrator
ipconfig /flushdns
netsh winsock reset
netsh int ip reset
Restart the computer after running these commands.
Alternative Solution
If Error 17 persists on your corporate network and you cannot modify the firewall or proxy configuration, try these alternatives:
Use mobile data as a hotspot: Connect your computer to your phone’s hotspot. This eliminates all corporate network restrictions and is the fastest way to confirm whether the problem is network-related.
Connect through a public VPN: A VPN that does not perform SSL inspection can resolve the block. Make sure to use a trustworthy VPN that does not violate your company’s security policies.
Test from another computer on a different network: If the portal works from another location, this confirms the problem is the network, not your computer. This gives you evidence to request changes from the IT department.
Use the browser in private mode: In some cases, browser extensions or enterprise configurations interfere with the portal. Open an InPrivate window (Ctrl + Shift + N in Edge) and access the portal.
Prevention
To avoid Error 17 in the future, implement these measures:
- Add serviciosdigitales.imss.gob.mx to the permanent exceptions in your corporate firewall and proxy
- Keep TLS 1.2 enabled as a minimum on all computers that access the portal
- Do not leave sessions inactive for more than 10 minutes — save your work frequently
- Ask the IT department to exclude IMSS domains from the proxy SSL inspection
- Configure a Group Policy (GPO) if you manage multiple computers to automatically enable TLS 1.2 and firewall exceptions
- Document the network configuration required for the IMSS portal and share it with the technical support team
Related Issues
| Error | Cause | Quick Fix |
|---|---|---|
| Error 15 Access Denied | Incompatible browser or Java | Use Edge in IE mode with Java 8 |
| Error 0x8009030D | Corrupt digital certificate | Reinstall e.firma certificate |
| ”Page cannot be displayed” | TLS completely disabled | Enable TLS 1.2 in Internet Options |
| ”Connection timed out” | Port 443 blocked by firewall | Create firewall rule for port 443 |
| ”Invalid certificate” | Proxy with active SSL inspection | Exclude domain from SSL inspection |
Summary
- Error 17 Access Denied on serviciosdigitales.imss.gob.mx is a network and security problem, different from Error 15 which is a browser compatibility issue
- The main causes are: corporate firewall, proxy with SSL inspection, disabled TLS, and expired sessions
- Verify connectivity with
Test-NetConnectionbefore making browser changes - Enable TLS 1.2 from Internet Options and uncheck SSL 3.0 and TLS 1.0
- Configure exceptions in the firewall and proxy for
*.imss.gob.mx - If nothing works, try mobile data to confirm the problem is the corporate network
- Document the configuration needed to facilitate support for other users