A method and apparatus for manufacturing a connector for a container for medical use intended to administer fluid, the connector including a main body defining an inner channel for fluid to pass through and at least one continuous or discontinuous bead, projecting inside the channel. The method includes:a) producing a tubular conduit with no bead projecting inside the channel,b) inserting at least partially into the tubular conduit a mandrel having, on its outer surface, at least one continuous or discontinuous annular recess, whose dimensions and shape correspond to those of a continuous or discontinuous bead to be formed in the inner channel,c) partially heating the tubular conduit, the part including at least the conduit portion placed at the at least one recess when the mandrel has been positioned in the tubular conduit, such that the material of the tubular conduit fills the at least one recess.